Skip to content

CreatePrivateDnsNamespaceRequest

Source code in docs_src/capo_servicediscovery/types/create_private_dns_namespace_request.py
class CreatePrivateDnsNamespaceRequest(TypedDict, closed=True):
    name: "capo_servicediscovery.types.namespace_name_private.NamespaceNamePrivate"
    """<p>The name that you want to assign to this namespace. When you create a private DNS namespace, Cloud Map automatically creates an Amazon Route 53 private hosted zone that has the same name as the namespace.</p>"""
    creator_request_id: NotRequired[
        "capo_servicediscovery.types.resource_id.ResourceId"
    ]
    """<p>A unique string that identifies the request and that allows failed <code>CreatePrivateDnsNamespace</code> requests to be retried without the risk of running the operation twice. <code>CreatorRequestId</code> can be any unique string (for example, a date/timestamp).</p>"""
    description: NotRequired[
        "capo_servicediscovery.types.resource_description.ResourceDescription"
    ]
    """<p>A description for the namespace.</p>"""
    vpc: "capo_servicediscovery.types.resource_id.ResourceId"
    """<p>The ID of the Amazon VPC that you want to associate the namespace with.</p>"""
    tags: NotRequired["capo_servicediscovery.types.tag_list.TagList"]
    """<p>The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.</p>"""
    properties: NotRequired[
        "capo_servicediscovery.types.private_dns_namespace_properties.PrivateDnsNamespaceProperties"
    ]
    """<p>Properties for the private DNS namespace.</p>"""

creator_request_id instance-attribute

creator_request_id: NotRequired[ResourceId]

A unique string that identifies the request and that allows failed CreatePrivateDnsNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/timestamp).

description instance-attribute

description: NotRequired[ResourceDescription]

A description for the namespace.

name instance-attribute

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

properties instance-attribute

properties: NotRequired[PrivateDnsNamespaceProperties]

Properties for the private DNS namespace.

tags instance-attribute

tags: NotRequired[TagList]

The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

vpc instance-attribute

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