CfnDeliveryDestinationProps

class aws_cdk.aws_logs.CfnDeliveryDestinationProps(*, name, delivery_destination_policy=None, destination_resource_arn=None, tags=None)

Bases: object

Properties for defining a CfnDeliveryDestination.

Parameters:
  • name (str) – The name of this delivery destination.

  • delivery_destination_policy (Any) – A structure that contains information about one delivery destination policy.

  • destination_resource_arn (Optional[str]) – The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags that have been assigned to this delivery destination.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

# delivery_destination_policy: Any

cfn_delivery_destination_props = logs.CfnDeliveryDestinationProps(
    name="name",

    # the properties below are optional
    delivery_destination_policy=delivery_destination_policy,
    destination_resource_arn="destinationResourceArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

delivery_destination_policy

A structure that contains information about one delivery destination policy.

See:

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

destination_resource_arn

The ARN of the AWS destination that this delivery destination represents.

That AWS destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

See:

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

name

The name of this delivery destination.

See:

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

tags

The tags that have been assigned to this delivery destination.

See:

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