CfnServiceNetworkResourceAssociationPropsMixin

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

Bases: Mixin

Associates the specified service network with the specified resource configuration.

This allows the resource configuration to receive connections through the service network, including through a service network VPC endpoint.

See:

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

CloudformationResource:

AWS::VpcLattice::ServiceNetworkResourceAssociation

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_service_network_resource_association_props_mixin = vpclattice_mixins.CfnServiceNetworkResourceAssociationPropsMixin(vpclattice_mixins.CfnServiceNetworkResourceAssociationMixinProps(
    private_dns_enabled=False,
    resource_configuration_id="resourceConfigurationId",
    service_network_id="serviceNetworkId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

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 = ['privateDnsEnabled', 'resourceConfigurationId', 'serviceNetworkId', '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