Interface ExistingCloudMapNamespaceOptions

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

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-08-19T15:41:17.888Z") @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());