CfnPublicDnsNamespaceMixinProps

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

Bases: object

Properties for CfnPublicDnsNamespacePropsMixin.

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

  • name (Optional[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.

  • 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.

See:

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.
from aws_cdk.mixins_preview.aws_servicediscovery import mixins as servicediscovery_mixins

cfn_public_dns_namespace_mixin_props = servicediscovery_mixins.CfnPublicDnsNamespaceMixinProps(
    description="description",
    name="name",
    properties=servicediscovery_mixins.CfnPublicDnsNamespacePropsMixin.PropertiesProperty(
        dns_properties=servicediscovery_mixins.CfnPublicDnsNamespacePropsMixin.PublicDnsPropertiesMutableProperty(
            soa=servicediscovery_mixins.CfnPublicDnsNamespacePropsMixin.SOAProperty(
                ttl=123
            )
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

A description for the namespace.

See:

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.

See:

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

properties

Properties for the public DNS namespace.

See:

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.

See:

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