CfnResourceConfigurationPropsMixin

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

Bases: Mixin

Creates 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:

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

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:

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 = ['allowAssociationToSharableServiceNetwork', 'customDomainName', 'domainVerificationId', 'groupDomain', 'name', 'portRanges', 'protocolType', 'resourceConfigurationAuthType', 'resourceConfigurationDefinition', 'resourceConfigurationGroupId', 'resourceConfigurationType', 'resourceGatewayId', '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

DnsResourceProperty

class CfnResourceConfigurationPropsMixin.DnsResourceProperty(*, domain_name=None, ip_address_type=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-domainname

ip_address_type

The IP address type for the resource configuration.

Dualstack is not currently supported.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html#cfn-vpclattice-resourceconfiguration-dnsresource-ipaddresstype

ResourceConfigurationDefinitionProperty

class CfnResourceConfigurationPropsMixin.ResourceConfigurationDefinitionProperty(*, arn_resource=None, dns_resource=None, ip_resource=None)

Bases: object

Identifies 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-arnresource

dns_resource

The DNS name of the resource configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-dnsresource

ip_resource

The IP address of the resource configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-resourceconfigurationdefinition.html#cfn-vpclattice-resourceconfiguration-resourceconfigurationdefinition-ipresource