@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:47.463Z") @Stability(value=Experimental) 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()
(experimental) The name of the namespace, such as example.com.
|
default NamespaceType |
getType()
(experimental) The type of CloudMap Namespace to create.
|
default IVpc |
getVpc()
(experimental) The VPC to associate the namespace with.
|
@Stability(value=Experimental) @NotNull String getName()
@Stability(value=Experimental) @Nullable default NamespaceType getType()
Default: PrivateDns
@Stability(value=Experimental) @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=Experimental) static CloudMapNamespaceOptions.Builder builder()
CloudMapNamespaceOptions.Builder of CloudMapNamespaceOptionsCopyright © 2022. All rights reserved.