CfnServiceNetworkResourceAssociationPropsMixin

class aws_cdk.cfn_property_mixins.aws_vpclattice.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.cfn_property_mixins import aws_vpclattice as vpclattice
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_service_network_resource_association_props_mixin = vpclattice.CfnServiceNetworkResourceAssociationPropsMixin(vpclattice.CfnServiceNetworkResourceAssociationMixinProps(
    private_dns_enabled=False,
    resource_configuration_id="resourceConfigurationId",
    service_network_id="serviceNetworkId",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

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:

None

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)

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.