@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.136Z") @Stability(value=Stable) public interface CfnPrivateDnsNamespaceProps 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.*;
CfnPrivateDnsNamespaceProps cfnPrivateDnsNamespaceProps = CfnPrivateDnsNamespaceProps.builder()
.name("name")
.vpc("vpc")
// the properties below are optional
.description("description")
.properties(PropertiesProperty.builder()
.dnsProperties(PrivateDnsPropertiesMutableProperty.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 |
CfnPrivateDnsNamespaceProps.Builder
A builder for
CfnPrivateDnsNamespaceProps |
static class |
CfnPrivateDnsNamespaceProps.Jsii$Proxy
An implementation for
CfnPrivateDnsNamespaceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPrivateDnsNamespaceProps.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 private DNS namespace.
|
default List<CfnTag> |
getTags()
The tags for the namespace.
|
String |
getVpc()
The ID of the Amazon VPC that you want to associate the namespace with.
|
@Stability(value=Stable) @NotNull String getName()
When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon RouteĀ 53 private hosted zone that has the same name as the namespace.
@Stability(value=Stable) @NotNull String getVpc()
@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 CfnPrivateDnsNamespaceProps.Builder builder()
Copyright © 2022. All rights reserved.