Interface ExistingCloudMapNamespaceOptions

All Superinterfaces:
CloudMapNamespaceOptionsBase, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ExistingCloudMapNamespaceOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:29.155Z") @Stability(Stable) public interface ExistingCloudMapNamespaceOptions extends software.amazon.jsii.JsiiSerializable, CloudMapNamespaceOptionsBase
The options for using an existing AWS Cloud Map namespace as the default namespace of a cluster.

Example:

 Vpc vpc;
 // Create or reference an existing namespace
 PrivateDnsNamespace existingNamespace = PrivateDnsNamespace.Builder.create(this, "Namespace")
         .name("example.local")
         .vpc(vpc)
         .build();
 Cluster cluster = Cluster.Builder.create(this, "Cluster").vpc(vpc).build();
 // Use the existing namespace as the default
 cluster.addExistingDefaultCloudMapNamespace(ExistingCloudMapNamespaceOptions.builder()
         .namespace(existingNamespace)
         .useForServiceConnect(true)
         .build());