CfnDeliveryDestinationMixinProps

class aws_cdk.mixins_preview.aws_logs.mixins.CfnDeliveryDestinationMixinProps(*, delivery_destination_policy=None, delivery_destination_type=None, destination_resource_arn=None, name=None, output_format=None, tags=None)

Bases: object

Properties for CfnDeliveryDestinationPropsMixin.

Parameters:
  • delivery_destination_policy (Union[IResolvable, DestinationPolicyProperty, Dict[str, Any], None]) – An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. For examples of this policy, see Examples in the CloudWatch Logs API Reference.

  • delivery_destination_type (Optional[str]) – Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.

  • 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 Firehose stream.

  • name (Optional[str]) – The name of this delivery destination.

  • output_format (Optional[str]) – The format of the logs that are sent to this delivery destination.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to the delivery destination. For more information, see Tag .

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.mixins_preview.aws_logs import mixins as logs_mixins

# delivery_destination_policy: Any

cfn_delivery_destination_mixin_props = logs_mixins.CfnDeliveryDestinationMixinProps(
    delivery_destination_policy=logs_mixins.CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty(
        delivery_destination_name="deliveryDestinationName",
        delivery_destination_policy=delivery_destination_policy
    ),
    delivery_destination_type="deliveryDestinationType",
    destination_resource_arn="destinationResourceArn",
    name="name",
    output_format="outputFormat",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

delivery_destination_policy

An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account.

For examples of this policy, see Examples in the CloudWatch Logs API Reference.

See:

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

delivery_destination_type

Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.

See:

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

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 Firehose stream.

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

output_format

The format of the logs that are sent to this delivery destination.

See:

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

tags

An array of key-value pairs to apply to the delivery destination.

For more information, see Tag .

See:

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