AWS Fundamentals Logo
AWS Fundamentals
AWS::VpcLattice::AccessLogSubscription

VpcLattice AccessLogSubscription

Enables 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.

Properties

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

Filter:
PropertyTypeFlags
DestinationArn
string
Required
ResourceIdentifier
string
Create-onlyWrite-only
ServiceNetworkLogType
string
Tags
Array<Tag>

Return Values

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

AttributeTypeDescription
Arnstring-
Idstring-
ResourceArnstring-
ResourceIdstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: Production

Required IAM Permissions

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

create

vpc-lattice:CreateAccessLogSubscriptionvpc-lattice:TagResourcevpc-lattice:GetAccessLogSubscriptionvpc-lattice:ListTagsForResourcelogs:CreateLogDeliverylogs:CreateLogStreamlogs:PutDestinationlogs:PutDestinationPolicy

read

vpc-lattice:GetAccessLogSubscriptionvpc-lattice:ListTagsForResourcelogs:GetLogDelivery

update

vpc-lattice:GetAccessLogSubscriptionvpc-lattice:UpdateAccessLogSubscriptionvpc-lattice:ListTagsForResourcevpc-lattice:TagResourcevpc-lattice:UntagResourcelogs:UpdateLogDeliveryfirehose:UpdateDestinationlogs:CreateLogDelivery

delete

vpc-lattice:DeleteAccessLogSubscriptionvpc-lattice:UntagResourcelogs:DeleteLogDeliverylogs:DeleteLogStreamlogs:GetLogDeliverylogs:DeleteDestinations3:PutBucketLoggingiam:GetServiceLinkedRoleDeletionStatus

list

vpc-lattice:ListAccessLogSubscriptionslogs:GetLogDelivery

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

ServiceVpcLattice
Properties8
Required1
TaggingSupported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ResourceIdentifier

External Links