CfnPublicDnsNamespaceProps

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

Bases: object

Properties for defining a AWS::ServiceDiscovery::PublicDnsNamespace.

Parameters
  • description (Optional[str]) – AWS::ServiceDiscovery::PublicDnsNamespace.Description.

  • name (str) – AWS::ServiceDiscovery::PublicDnsNamespace.Name.

  • properties (Union[IResolvable, PropertiesProperty, None]) – AWS::ServiceDiscovery::PublicDnsNamespace.Properties.

  • tags (Optional[Sequence[CfnTag]]) – AWS::ServiceDiscovery::PublicDnsNamespace.Tags.

Link

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

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

AWS::ServiceDiscovery::PublicDnsNamespace.Description.

Link

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

Return type

Optional[str]

name

AWS::ServiceDiscovery::PublicDnsNamespace.Name.

Link

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

Return type

str

properties

AWS::ServiceDiscovery::PublicDnsNamespace.Properties.

Link

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

Return type

Union[IResolvable, PropertiesProperty, None]

tags

AWS::ServiceDiscovery::PublicDnsNamespace.Tags.

Link

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

Return type

Optional[List[CfnTag]]