AWS::Logs::DeliverySourceA 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).
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | RequiredCreate-only |
LogType | string | |
ResourceArn | string | Write-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) that uniquely identifies this delivery source. |
ResourceArns | Array<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. |
Service | string | The AWS service that is sending logs. |
A minimal template with required properties and common optional ones.
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: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
logs:PutDeliverySourcelogs:GetDeliverySourcelogs:ListTagsForResourcelogs:TagResourcelogs:AllowVendedLogDeliveryForResourcecodewhisperer:AllowVendedLogDeliveryForResourceautoloop:AllowVendedLogDeliveryForResourceworkmail:AllowVendedLogDeliveryForResourcelogs:GetDeliverySourcelogs:ListTagsForResourcelogs:PutDeliverySourcelogs:GetDeliverySourcelogs:ListTagsForResourcelogs:TagResourcelogs:UntagResourcelogs:DeleteDeliverySourcelogs:DescribeDeliverySourcesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Name