AWS::VpcLattice::AccessLogSubscriptionEnables access logs to be sent to Amazon CloudWatch, Amazon S3, and Amazon Kinesis Data Firehose. The service network owner can use the access logs to audit the services in the network. The service network owner will only see access logs from clients and services that are associated with their service network. Access log entries represent traffic originated from VPCs associated with that network.
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DestinationArn | string | Required |
ResourceIdentifier | string | Create-onlyWrite-only |
ServiceNetworkLogType | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
Id | string | - |
ResourceArn | string | - |
ResourceId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::VpcLattice::AccessLogSubscription
Resources:
MyResource:
Type: AWS::VpcLattice::AccessLogSubscription
Properties:
DestinationArn: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
vpc-lattice:CreateAccessLogSubscriptionvpc-lattice:TagResourcevpc-lattice:GetAccessLogSubscriptionvpc-lattice:ListTagsForResourcelogs:CreateLogDeliverylogs:CreateLogStreamlogs:PutDestinationlogs:PutDestinationPolicyvpc-lattice:GetAccessLogSubscriptionvpc-lattice:ListTagsForResourcelogs:GetLogDeliveryvpc-lattice:GetAccessLogSubscriptionvpc-lattice:UpdateAccessLogSubscriptionvpc-lattice:ListTagsForResourcevpc-lattice:TagResourcevpc-lattice:UntagResourcelogs:UpdateLogDeliveryfirehose:UpdateDestinationlogs:CreateLogDeliveryvpc-lattice:DeleteAccessLogSubscriptionvpc-lattice:UntagResourcelogs:DeleteLogDeliverylogs:DeleteLogStreamlogs:GetLogDeliverylogs:DeleteDestinations3:PutBucketLoggingiam:GetServiceLinkedRoleDeletionStatusvpc-lattice:ListAccessLogSubscriptionslogs:GetLogDeliveryOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceIdentifier