CfnPrivateDnsNamespaceMixinProps

class aws_cdk.mixins_preview.aws_servicediscovery.mixins.CfnPrivateDnsNamespaceMixinProps(*, description=None, name=None, properties=None, tags=None, vpc=None)

Bases: object

Properties for CfnPrivateDnsNamespacePropsMixin.

Parameters:
  • description (Optional[str]) – A description for the namespace.

  • name (Optional[str]) – The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.

  • properties (Union[IResolvable, PropertiesProperty, Dict[str, Any], None]) – Properties for the private DNS namespace.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the namespace. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

  • vpc (Optional[str]) – The ID of the Amazon VPC that you want to associate the namespace with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.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_servicediscovery import mixins as servicediscovery_mixins

cfn_private_dns_namespace_mixin_props = servicediscovery_mixins.CfnPrivateDnsNamespaceMixinProps(
    description="description",
    name="name",
    properties=servicediscovery_mixins.CfnPrivateDnsNamespacePropsMixin.PropertiesProperty(
        dns_properties=servicediscovery_mixins.CfnPrivateDnsNamespacePropsMixin.PrivateDnsPropertiesMutableProperty(
            soa=servicediscovery_mixins.CfnPrivateDnsNamespacePropsMixin.SOAProperty(
                ttl=123
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc="vpc"
)

Attributes

description

A description for the namespace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-description

name

The name that you want to assign to this namespace.

When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-name

properties

Properties for the private DNS namespace.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-properties

tags

The tags for the namespace.

Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-tags

vpc

The ID of the Amazon VPC that you want to associate the namespace with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-privatednsnamespace.html#cfn-servicediscovery-privatednsnamespace-vpc