CfnAccessLogSubscriptionProps

class aws_cdk.aws_vpclattice.CfnAccessLogSubscriptionProps(*, destination_arn, resource_identifier=None, tags=None)

Bases: object

Properties for defining a CfnAccessLogSubscription.

Parameters:
  • destination_arn (str) – 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.

  • resource_identifier (Optional[str]) – The ID or Amazon Resource Name (ARN) of the service network or service.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the access log subscription.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_vpclattice as vpclattice

cfn_access_log_subscription_props = vpclattice.CfnAccessLogSubscriptionProps(
    destination_arn="destinationArn",

    # the properties below are optional
    resource_identifier="resourceIdentifier",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

destination_arn

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html#cfn-vpclattice-accesslogsubscription-destinationarn

resource_identifier

The ID or Amazon Resource Name (ARN) of the service network or service.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html#cfn-vpclattice-accesslogsubscription-resourceidentifier

tags

The tags for the access log subscription.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-accesslogsubscription.html#cfn-vpclattice-accesslogsubscription-tags