1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. logs
  5. getDeliverySource

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.logs.getDeliverySource

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.

    Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at Enabling logging from AWS services.

    Using getDeliverySource

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDeliverySource(args: GetDeliverySourceArgs, opts?: InvokeOptions): Promise<GetDeliverySourceResult>
    function getDeliverySourceOutput(args: GetDeliverySourceOutputArgs, opts?: InvokeOptions): Output<GetDeliverySourceResult>
    def get_delivery_source(name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDeliverySourceResult
    def get_delivery_source_output(name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDeliverySourceResult]
    func LookupDeliverySource(ctx *Context, args *LookupDeliverySourceArgs, opts ...InvokeOption) (*LookupDeliverySourceResult, error)
    func LookupDeliverySourceOutput(ctx *Context, args *LookupDeliverySourceOutputArgs, opts ...InvokeOption) LookupDeliverySourceResultOutput

    > Note: This function is named LookupDeliverySource in the Go SDK.

    public static class GetDeliverySource 
    {
        public static Task<GetDeliverySourceResult> InvokeAsync(GetDeliverySourceArgs args, InvokeOptions? opts = null)
        public static Output<GetDeliverySourceResult> Invoke(GetDeliverySourceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeliverySourceResult> getDeliverySource(GetDeliverySourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:logs:getDeliverySource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The unique name of the Log source.
    Name string
    The unique name of the Log source.
    name String
    The unique name of the Log source.
    name string
    The unique name of the Log source.
    name str
    The unique name of the Log source.
    name String
    The unique name of the Log source.

    getDeliverySource Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    LogType string
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    ResourceArns List<string>
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    Service string
    The AWS service that is sending logs.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags that have been assigned to this delivery source.
    Arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    LogType string
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    ResourceArns []string
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    Service string
    The AWS service that is sending logs.
    Tags Tag
    The tags that have been assigned to this delivery source.
    arn String
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    logType String
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    resourceArns List<String>
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    service String
    The AWS service that is sending logs.
    tags List<Tag>
    The tags that have been assigned to this delivery source.
    arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    logType string
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    resourceArns string[]
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    service string
    The AWS service that is sending logs.
    tags Tag[]
    The tags that have been assigned to this delivery source.
    arn str
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    log_type str
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    resource_arns Sequence[str]
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    service str
    The AWS service that is sending logs.
    tags Sequence[root_Tag]
    The tags that have been assigned to this delivery source.
    arn String
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    logType String
    The type of logs being delivered. Only mandatory when the resourceArn could match more than one. In such a case, the error message will contain all the possible options.
    resourceArns List<String>
    This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
    service String
    The AWS service that is sending logs.
    tags List<Property Map>
    The tags that have been assigned to this delivery source.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi