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 can 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. For more information, see [Access logs](https://docs.aws.amazon.com/vpc-lattice/latest/ug/monitoring-access-logs.html) in the *Amazon VPC Lattice User Guide* .
import { CfnAccessLogSubscription } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnAccessLogSubscriptionConfiguration passed to the constructor as CfnAccessLogSubscriptionProps.
destinationArnRequiredstringThe Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.
resourceIdentifierOptionalstringThe ID or ARN of the service network or service.
serviceNetworkLogTypeOptionalstringLog type of the service network.
tagsOptionalCfnTag[]The tags for the access log subscription.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::AccessLogSubscription