1. Packages
  2. AWS Native
  3. API Docs
  4. logs
  5. DeliverySource

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.logs.DeliverySource

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 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.

    Create DeliverySource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DeliverySource(name: string, args?: DeliverySourceArgs, opts?: CustomResourceOptions);
    @overload
    def DeliverySource(resource_name: str,
                       args: Optional[DeliverySourceArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeliverySource(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       log_type: Optional[str] = None,
                       name: Optional[str] = None,
                       resource_arn: Optional[str] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewDeliverySource(ctx *Context, name string, args *DeliverySourceArgs, opts ...ResourceOption) (*DeliverySource, error)
    public DeliverySource(string name, DeliverySourceArgs? args = null, CustomResourceOptions? opts = null)
    public DeliverySource(String name, DeliverySourceArgs args)
    public DeliverySource(String name, DeliverySourceArgs args, CustomResourceOptions options)
    
    type: aws-native:logs:DeliverySource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DeliverySourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DeliverySourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DeliverySourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeliverySourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeliverySourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DeliverySource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DeliverySource resource accepts the following input properties:

    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.
    Name string
    The unique name of the Log source.
    ResourceArn string
    The ARN of the resource that will be sending the logs.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags that have been assigned to 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.
    Name string
    The unique name of the Log source.
    ResourceArn string
    The ARN of the resource that will be sending the logs.
    Tags TagArgs
    The tags that have been assigned to 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.
    name String
    The unique name of the Log source.
    resourceArn String
    The ARN of the resource that will be sending the logs.
    tags List<Tag>
    The tags that have been assigned to 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.
    name string
    The unique name of the Log source.
    resourceArn string
    The ARN of the resource that will be sending the logs.
    tags Tag[]
    The tags that have been assigned to 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.
    name str
    The unique name of the Log source.
    resource_arn str
    The ARN of the resource that will be sending the logs.
    tags Sequence[TagArgs]
    The tags that have been assigned to 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.
    name String
    The unique name of the Log source.
    resourceArn String
    The ARN of the resource that will be sending the logs.
    tags List<Property Map>
    The tags that have been assigned to this delivery source.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DeliverySource resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    arn String
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    arn string
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    arn str
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    arn String
    The Amazon Resource Name (ARN) that uniquely identifies this delivery source.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Supporting Types

    Tag, TagArgs

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi