Interface CloudMapNamespaceOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudMapNamespaceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.239Z")
@Stability(Stable)
public interface CloudMapNamespaceOptions
extends software.amazon.jsii.JsiiSerializable
The options for creating an AWS Cloud Map namespace.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudMapNamespaceOptionsstatic final classAn implementation forCloudMapNamespaceOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the namespace, such as example.com. -
getType
The type of CloudMap Namespace to create.Default: PrivateDns
-
getVpc
The VPC to associate the namespace with.This property is required for private DNS namespaces.
Default: VPC of the cluster for Private DNS Namespace, otherwise none
-
builder
- Returns:
- a
CloudMapNamespaceOptions.BuilderofCloudMapNamespaceOptions
-