Interface ExistingCloudMapNamespaceOptions

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

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-10-08T16:59:53.776Z") @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());