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

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

aws-native.logs.Destination

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.111.0 published on Tuesday, Jul 9, 2024 by Pulumi

    The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events.

    Create Destination Resource

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

    Constructor syntax

    new Destination(name: string, args: DestinationArgs, opts?: CustomResourceOptions);
    @overload
    def Destination(resource_name: str,
                    args: DestinationArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Destination(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    role_arn: Optional[str] = None,
                    target_arn: Optional[str] = None,
                    destination_name: Optional[str] = None,
                    destination_policy: Optional[str] = None)
    func NewDestination(ctx *Context, name string, args DestinationArgs, opts ...ResourceOption) (*Destination, error)
    public Destination(string name, DestinationArgs args, CustomResourceOptions? opts = null)
    public Destination(String name, DestinationArgs args)
    public Destination(String name, DestinationArgs args, CustomResourceOptions options)
    
    type: aws-native:logs:Destination
    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 DestinationArgs
    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 DestinationArgs
    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 DestinationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DestinationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Destination 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 Destination resource accepts the following input properties:

    RoleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    TargetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    DestinationName string
    The name of the destination resource
    DestinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    RoleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    TargetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    DestinationName string
    The name of the destination resource
    DestinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn String
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn String
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    destinationName String
    The name of the destination resource
    destinationPolicy String
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn string
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn string
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    destinationName string
    The name of the destination resource
    destinationPolicy string
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    role_arn str
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    target_arn str
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    destination_name str
    The name of the destination resource
    destination_policy str
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
    roleArn String
    The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
    targetArn String
    The ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
    destinationName String
    The name of the destination resource
    destinationPolicy String
    An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

    Outputs

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

    Arn string
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the CloudWatch Logs destination, such as arn:aws:logs:us-west-1:123456789012:destination:MyDestination .
    id String
    The provider-assigned unique ID for this managed resource.

    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.111.0 published on Tuesday, Jul 9, 2024 by Pulumi