AWS::Logs::DeliveryDestination - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Logs::DeliveryDestination

This structure contains information about one delivery destination in your account. A delivery destination is an Amazon resource that represents an Amazon service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose delivery destinations.

To configure logs delivery between a supported Amazon service and a destination, you must do the following:

  • Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource.

  • Create a delivery destination, which is a logical object that represents the actual delivery destination.

  • If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.

  • Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery.

You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Logs::DeliveryDestination", "Properties" : { "DeliveryDestinationPolicy" : Json, "DestinationResourceArn" : String, "Name" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::Logs::DeliveryDestination Properties: DeliveryDestinationPolicy: Json DestinationResourceArn: String Name: String Tags: - Tag

Properties

DeliveryDestinationPolicy

A structure that contains information about one delivery destination policy.

Required: No

Type: Json

Update requires: No interruption

DestinationResourceArn

The ARN of the Amazon destination that this delivery destination represents. That Amazon destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.

Required: No

Type: String

Pattern: ^arn:(aws[a-zA-Z-]*)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$

Minimum: 16

Maximum: 2048

Update requires: Replacement

Name

The name of this delivery destination.

Required: Yes

Type: String

Pattern: [\w-]*$

Minimum: 1

Maximum: 60

Update requires: Replacement

Tags

The tags that have been assigned to this delivery destination.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

Fn::GetAtt

Arn

The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.

DeliveryDestinationType

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