AWS Fundamentals Logo
AWS Fundamentals
AWS::Logs::DeliverySource

Logs DeliverySource

A delivery source is an AWS resource that sends logs to an AWS destination. The destination can be CloudWatch Logs, Amazon S3, or Kinesis Data Firehose. Only some AWS services support being configured as a delivery source. These services are listed as Supported [V2 Permissions] in the table at [Enabling logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html).

Properties

4 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
LogType
string
ResourceArn
string
Write-only
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 source.
ResourceArnsArray<string>This array contains the ARN of the AWS resource that sends logs and is represented by this delivery source. Currently, only one ARN can be in the array.
ServicestringThe AWS service that is sending logs.

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::DeliverySource

Resources:
  MyResource:
    Type: AWS::Logs::DeliverySource
    Properties:
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

logs:PutDeliverySourcelogs:GetDeliverySourcelogs:ListTagsForResourcelogs:TagResourcelogs:AllowVendedLogDeliveryForResourcecodewhisperer:AllowVendedLogDeliveryForResourceautoloop:AllowVendedLogDeliveryForResourceworkmail:AllowVendedLogDeliveryForResource

read

logs:GetDeliverySourcelogs:ListTagsForResource

update

logs:PutDeliverySourcelogs:GetDeliverySourcelogs:ListTagsForResourcelogs:TagResourcelogs:UntagResource

delete

logs:DeleteDeliverySource

list

logs:DescribeDeliverySources

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
Properties7
Required1
TaggingSupported
Primary IDName

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

Name

External Links