aws-native logo
AWS Native v0.49.0, Jan 26 23

aws-native.logs.Destination

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

new Destination(name: string, args: DestinationArgs, opts?: CustomResourceOptions);
@overload
def Destination(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                destination_name: Optional[str] = None,
                destination_policy: Optional[str] = None,
                role_arn: Optional[str] = None,
                target_arn: Optional[str] = None)
@overload
def Destination(resource_name: str,
                args: DestinationArgs,
                opts: Optional[ResourceOptions] = 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.

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
Id string

The provider-assigned unique ID for this managed resource.

Arn string
Id string

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

arn string
id string

The provider-assigned unique ID for this managed resource.

arn str
id str

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

Package Details

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