@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.673Z") @Stability(value=Stable) public interface CloudMapNamespaceOptions 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.ec2.*;
import software.amazon.awscdk.services.ecs.*;
import software.amazon.awscdk.services.servicediscovery.*;
Vpc vpc;
CloudMapNamespaceOptions cloudMapNamespaceOptions = CloudMapNamespaceOptions.builder()
.name("name")
// the properties below are optional
.type(NamespaceType.HTTP)
.vpc(vpc)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudMapNamespaceOptions.Builder
A builder for
CloudMapNamespaceOptions |
static class |
CloudMapNamespaceOptions.Jsii$Proxy
An implementation for
CloudMapNamespaceOptions |
| Modifier and Type | Method and Description |
|---|---|
static CloudMapNamespaceOptions.Builder |
builder() |
String |
getName()
The name of the namespace, such as example.com.
|
default NamespaceType |
getType()
The type of CloudMap Namespace to create.
|
default IVpc |
getVpc()
The VPC to associate the namespace with.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default NamespaceType getType()
Default: PrivateDns
@Stability(value=Stable) @Nullable default IVpc getVpc()
This property is required for private DNS namespaces.
Default: VPC of the cluster for Private DNS Namespace, otherwise none
@Stability(value=Stable) static CloudMapNamespaceOptions.Builder builder()
CloudMapNamespaceOptions.Builder of CloudMapNamespaceOptionsCopyright © 2022. All rights reserved.