Interface PrivateDnsNamespaceAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PrivateDnsNamespaceAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-08-13T16:20:14.823Z")
@Stability(Stable)
public interface PrivateDnsNamespaceAttributes
extends software.amazon.jsii.JsiiSerializable
Example:
Vpc vpc;
IPrivateDnsNamespace importedNamespace = PrivateDnsNamespace.fromPrivateDnsNamespaceAttributes(this, "ImportedNamespace", PrivateDnsNamespaceAttributes.builder()
.namespaceId("ns-xxxxxxxxxxxxx")
.namespaceArn("arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-xxxxxxxxxxxxx")
.namespaceName("example.local")
.build());
Cluster cluster = Cluster.Builder.create(this, "Cluster").vpc(vpc).build();
cluster.addExistingDefaultCloudMapNamespace(ExistingCloudMapNamespaceOptions.builder()
.namespace(importedNamespace)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPrivateDnsNamespaceAttributesstatic final classAn implementation forPrivateDnsNamespaceAttributes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Namespace ARN for the Namespace.Namespace Id for the Namespace.A name for the Namespace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNamespaceArn
Namespace ARN for the Namespace. -
getNamespaceId
Namespace Id for the Namespace. -
getNamespaceName
A name for the Namespace. -
builder
-