@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.236Z") @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()
`AWS::ServiceDiscovery::PrivateDnsNamespace.Description`.
|
String |
getName()
`AWS::ServiceDiscovery::PrivateDnsNamespace.Name`.
|
default Object |
getProperties()
`AWS::ServiceDiscovery::PrivateDnsNamespace.Properties`.
|
default List<CfnTag> |
getTags()
`AWS::ServiceDiscovery::PrivateDnsNamespace.Tags`.
|
String |
getVpc()
`AWS::ServiceDiscovery::PrivateDnsNamespace.Vpc`.
|
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getProperties()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @NotNull String getVpc()
@Stability(value=Stable) static CfnPrivateDnsNamespaceProps.Builder builder()
Copyright © 2021. All rights reserved.