@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.137Z") @Stability(value=Stable) public interface CfnPublicDnsNamespaceProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPublicDnsNamespaceProps.Builder
A builder for
CfnPublicDnsNamespaceProps |
static class |
CfnPublicDnsNamespaceProps.Jsii$Proxy
An implementation for
CfnPublicDnsNamespaceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPublicDnsNamespaceProps.Builder |
builder() |
default String |
getDescription()
A description for the namespace.
|
String |
getName()
The name that you want to assign to this namespace.
|
default Object |
getProperties()
Properties for the public DNS namespace.
|
default List<CfnTag> |
getTags()
The tags for the namespace.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getProperties()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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.
@Stability(value=Stable) static CfnPublicDnsNamespaceProps.Builder builder()
CfnPublicDnsNamespaceProps.Builder of CfnPublicDnsNamespacePropsCopyright © 2022. All rights reserved.