CfnPrivateDnsNamespaceMixinProps
- class aws_cdk.mixins_preview.aws_servicediscovery.mixins.CfnPrivateDnsNamespaceMixinProps(*, description=None, name=None, properties=None, tags=None, vpc=None)
Bases:
objectProperties 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:
- 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.
- 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.
- properties
Properties for the private DNS namespace.
- 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.
- vpc
The ID of the Amazon VPC that you want to associate the namespace with.