CfnAccessLogSubscriptionPropsMixin

class aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnAccessLogSubscriptionPropsMixin(props, *, strategy=None)

Bases: Mixin

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 in the Amazon VPC Lattice User Guide .

See:

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

CloudformationResource:

AWS::VpcLattice::AccessLogSubscription

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

cfn_access_log_subscription_props_mixin = vpclattice_mixins.CfnAccessLogSubscriptionPropsMixin(vpclattice_mixins.CfnAccessLogSubscriptionMixinProps(
    destination_arn="destinationArn",
    resource_identifier="resourceIdentifier",
    service_network_log_type="serviceNetworkLogType",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::VpcLattice::AccessLogSubscription.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['destinationArn', 'resourceIdentifier', 'serviceNetworkLogType', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental