AWS Fundamentals Logo
AWS Fundamentals
AWS::Logs::Delivery

Logs Delivery

This structure contains information about one delivery in your account. A delivery is a connection between a logical delivery source and a logical delivery destination. For more information, see [CreateDelivery](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html).

Properties

7 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DeliveryDestinationArn
string
RequiredCreate-only
DeliverySourceName
string
RequiredCreate-only
FieldDelimiter
string
RecordFields
Array<string>
S3EnableHiveCompatiblePath
boolean
S3SuffixPath
string
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) that uniquely identifies this delivery.
DeliveryDestinationTypestringDisplays whether the delivery destination associated with this delivery is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
DeliveryIdstringThe unique ID that identifies this delivery in your account.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Logs::Delivery

Resources:
  MyResource:
    Type: AWS::Logs::Delivery
    Properties:
      DeliverySourceName: "my-deliverysourcename"
      DeliveryDestinationArn: "arn:aws:service:region:account:resource"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

logs:CreateDeliverylogs:GetDeliverylogs:DescribeDeliverieslogs:ListTagsForResourcelogs:TagResourcelogs:GetDeliverySourcelogs:GetDeliveryDestination

read

logs:GetDeliverylogs:ListTagsForResource

update

logs:GetDeliverylogs:ListTagsForResourcelogs:TagResourcelogs:UntagResourcelogs:UpdateDeliveryConfiguration

delete

logs:DeleteDeliverylogs:ListTagsForResourcelogs:UntagResource

list

logs:DescribeDeliverieslogs:ListTagsForResource

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceLogs
Properties10
Required2
TaggingSupported
Primary IDDeliveryId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DeliverySourceNameDeliveryDestinationArn

External Links