CfnDestinationProps

class aws_cdk.aws_logs.CfnDestinationProps(*, destination_name, destination_policy, role_arn, target_arn)

Bases: object

Properties for defining a AWS::Logs::Destination.

Parameters
  • destination_name (str) – AWS::Logs::Destination.DestinationName.

  • destination_policy (str) – AWS::Logs::Destination.DestinationPolicy.

  • role_arn (str) – AWS::Logs::Destination.RoleArn.

  • target_arn (str) – AWS::Logs::Destination.TargetArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_logs as logs

cfn_destination_props = logs.CfnDestinationProps(
    destination_name="destinationName",
    destination_policy="destinationPolicy",
    role_arn="roleArn",
    target_arn="targetArn"
)

Attributes

destination_name

AWS::Logs::Destination.DestinationName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationname

Return type

str

destination_policy

AWS::Logs::Destination.DestinationPolicy.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-destinationpolicy

Return type

str

role_arn

AWS::Logs::Destination.RoleArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-rolearn

Return type

str

target_arn

AWS::Logs::Destination.TargetArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html#cfn-logs-destination-targetarn

Return type

str