CfnServiceNetworkResourceAssociationPropsMixin
- class aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnServiceNetworkResourceAssociationPropsMixin(props, *, strategy=None)
Bases:
MixinAssociates 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:
- 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:
props (
Union[CfnServiceNetworkResourceAssociationMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental