CfnResourceConfigurationPropsMixin
- class aws_cdk.mixins_preview.aws_vpclattice.mixins.CfnResourceConfigurationPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a resource configuration.
A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.
- See:
- CloudformationResource:
AWS::VpcLattice::ResourceConfiguration
- 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_resource_configuration_props_mixin = vpclattice_mixins.CfnResourceConfigurationPropsMixin(vpclattice_mixins.CfnResourceConfigurationMixinProps( allow_association_to_sharable_service_network=False, custom_domain_name="customDomainName", domain_verification_id="domainVerificationId", group_domain="groupDomain", name="name", port_ranges=["portRanges"], protocol_type="protocolType", resource_configuration_auth_type="resourceConfigurationAuthType", resource_configuration_definition=vpclattice_mixins.CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty( arn_resource="arnResource", dns_resource=vpclattice_mixins.CfnResourceConfigurationPropsMixin.DnsResourceProperty( domain_name="domainName", ip_address_type="ipAddressType" ), ip_resource="ipResource" ), resource_configuration_group_id="resourceConfigurationGroupId", resource_configuration_type="resourceConfigurationType", resource_gateway_id="resourceGatewayId", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::VpcLattice::ResourceConfiguration.- Parameters:
props (
Union[CfnResourceConfigurationMixinProps,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 = ['allowAssociationToSharableServiceNetwork', 'customDomainName', 'domainVerificationId', 'groupDomain', 'name', 'portRanges', 'protocolType', 'resourceConfigurationAuthType', 'resourceConfigurationDefinition', 'resourceConfigurationGroupId', 'resourceConfigurationType', 'resourceGatewayId', '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
DnsResourceProperty
- class CfnResourceConfigurationPropsMixin.DnsResourceProperty(*, domain_name=None, ip_address_type=None)
Bases:
objectThe domain name of the resource configuration.
- Parameters:
domain_name (
Optional[str]) – The domain name of the resource configuration.ip_address_type (
Optional[str]) – The IP address type for the resource configuration. Dualstack is not currently supported.
- See:
- 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.aws_vpclattice import mixins as vpclattice_mixins dns_resource_property = vpclattice_mixins.CfnResourceConfigurationPropsMixin.DnsResourceProperty( domain_name="domainName", ip_address_type="ipAddressType" )
Attributes
- domain_name
The domain name of the resource configuration.
- ip_address_type
The IP address type for the resource configuration.
Dualstack is not currently supported.
ResourceConfigurationDefinitionProperty
- class CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty(*, arn_resource=None, dns_resource=None, ip_resource=None)
Bases:
objectIdentifies the resource configuration in one of the following ways:.
Amazon Resource Name (ARN) - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN.
Domain name - Any domain name that is publicly resolvable.
IP address - For IPv4 and IPv6, only IP addresses in the VPC are supported.
- Parameters:
arn_resource (
Optional[str]) – The Amazon Resource Name (ARN) of the resource configuration. For the ARN syntax and format, see ARN format in the AWS Identity and Access Management user guide .dns_resource (
Union[IResolvable,DnsResourceProperty,Dict[str,Any],None]) – The DNS name of the resource configuration.ip_resource (
Optional[str]) – The IP address of the resource configuration.
- See:
- 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.aws_vpclattice import mixins as vpclattice_mixins resource_configuration_definition_property = vpclattice_mixins.CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty( arn_resource="arnResource", dns_resource=vpclattice_mixins.CfnResourceConfigurationPropsMixin.DnsResourceProperty( domain_name="domainName", ip_address_type="ipAddressType" ), ip_resource="ipResource" )
Attributes
- arn_resource
The Amazon Resource Name (ARN) of the resource configuration.
For the ARN syntax and format, see ARN format in the AWS Identity and Access Management user guide .
- dns_resource
The DNS name of the resource configuration.
- ip_resource
The IP address of the resource configuration.