Interface CfnPublicDnsNamespaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPublicDnsNamespaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.609Z")
@Stability(Stable)
public interface CfnPublicDnsNamespaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPublicDnsNamespace.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicediscovery.*;
CfnPublicDnsNamespaceProps cfnPublicDnsNamespaceProps = CfnPublicDnsNamespaceProps.builder()
.name("name")
// the properties below are optional
.description("description")
.properties(PropertiesProperty.builder()
.dnsProperties(PublicDnsPropertiesMutableProperty.builder()
.soa(SOAProperty.builder()
.ttl(123)
.build())
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPublicDnsNamespacePropsstatic final classAn implementation forCfnPublicDnsNamespaceProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
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.
-
getDescription
A description for the namespace. -
getProperties
Properties for the public DNS namespace. -
getTags
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.
-
builder
- Returns:
- a
CfnPublicDnsNamespaceProps.BuilderofCfnPublicDnsNamespaceProps
-