Skip to content
v2.275.0

CfnAccessLogSubscriptionProps Struct ​

Properties for defining a CfnAccessLogSubscription.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const cfnAccessLogSubscriptionProps: vpclattice.CfnAccessLogSubscriptionProps = {
  destinationArn: 'destinationArn',

  // the properties below are optional
  resourceIdentifier: 'resourceIdentifier',
  serviceNetworkLogType: 'serviceNetworkLogType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

destinationArnstringdestination_arnstrdestinationArnStringDestinationArnstringDestinationArn*stringrequired#
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.

resourceIdentifieroptionalstringresource_identifieroptionalstrresourceIdentifieroptionalStringResourceIdentifieroptionalstringResourceIdentifieroptional*string#
The ID or ARN of the service network or service.
serviceNetworkLogTypeoptionalstringservice_network_log_typeoptionalstrserviceNetworkLogTypeoptionalStringServiceNetworkLogTypeoptionalstringServiceNetworkLogTypeoptional*string#
Log type of the service network.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags for the access log subscription.