CfnPublicDnsNamespaceProps

class aws_cdk.aws_servicediscovery.CfnPublicDnsNamespaceProps(*, name, description=None, properties=None, tags=None)

Bases: object

Properties for defining a CfnPublicDnsNamespace.

Parameters:
  • name (str) – The name that you want to assign to this namespace. .. epigraph:: Do not include sensitive information in the name. The name is publicly available using DNS queries.

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

  • properties (Union[IResolvable, PropertiesProperty, Dict[str, Any], None]) – Properties for the public 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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_servicediscovery as servicediscovery

cfn_public_dns_namespace_props = servicediscovery.CfnPublicDnsNamespaceProps(
    name="name",

    # the properties below are optional
    description="description",
    properties=servicediscovery.CfnPublicDnsNamespace.PropertiesProperty(
        dns_properties=servicediscovery.CfnPublicDnsNamespace.PublicDnsPropertiesMutableProperty(
            soa=servicediscovery.CfnPublicDnsNamespace.SOAProperty(
                ttl=123
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description for the namespace.

Link:

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

name

The name that you want to assign to this namespace.

Do not include sensitive information in the name. The name is publicly available using DNS queries.

Link:

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

properties

Properties for the public DNS namespace.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicediscovery-publicdnsnamespace.html#cfn-servicediscovery-publicdnsnamespace-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.

Link:

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