AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::VpcLattice::AccessLogSubscription

CfnAccessLogSubscription

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

import { CfnAccessLogSubscription } from 'aws-cdk-lib/aws-vpclattice';

Or use the module namespace:

import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnAccessLogSubscription

Properties

Configuration passed to the constructor as CfnAccessLogSubscriptionProps.

destinationArnRequired
string

The Amazon Resource Name (ARN) of the destination. The supported destination types are CloudWatch Log groups, Kinesis Data Firehose delivery streams, and Amazon S3 buckets.

resourceIdentifierOptional
string

The ID or ARN of the service network or service.

serviceNetworkLogTypeOptional
string

Log type of the service network.

tagsOptional
CfnTag[]

The tags for the access log subscription.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter