Interface CfnPrivateDnsNamespaceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrivateDnsNamespaceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:26.773Z")
@Stability(Stable)
public interface CfnPrivateDnsNamespaceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPrivateDnsNamespacePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.servicediscovery.*;
CfnPrivateDnsNamespaceMixinProps cfnPrivateDnsNamespaceMixinProps = CfnPrivateDnsNamespaceMixinProps.builder()
.description("description")
.name("name")
.properties(PropertiesProperty.builder()
.dnsProperties(PrivateDnsPropertiesMutableProperty.builder()
.soa(SOAProperty.builder()
.ttl(123)
.build())
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpc("vpc")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrivateDnsNamespaceMixinPropsstatic final classAn implementation forCfnPrivateDnsNamespaceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description for the namespace.default StringgetName()The name that you want to assign to this namespace.default ObjectProperties for the private DNS namespace.getTags()The tags for the namespace.default StringgetVpc()The ID of the Amazon VPC that you want to associate the namespace with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description for the namespace.- See Also:
-
getName
The name that you want to assign to this namespace.When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon RouteĀ 53 private hosted zone that has the same name as the namespace.
- See Also:
-
getProperties
Properties for the private DNS namespace.Returns union: either
IResolvableorCfnPrivateDnsNamespacePropsMixin.PropertiesProperty- See Also:
-
getTags
The tags for the namespace.Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
- See Also:
-
getVpc
The ID of the Amazon VPC that you want to associate the namespace with.- See Also:
-
builder
-