@Stability(value=Stable) public static final class CfnPrivateDnsNamespace.Builder extends Object implements software.amazon.jsii.Builder<CfnPrivateDnsNamespace>
CfnPrivateDnsNamespace.| Modifier and Type | Method and Description |
|---|---|
CfnPrivateDnsNamespace |
build() |
static CfnPrivateDnsNamespace.Builder |
create(software.constructs.Construct scope,
String id) |
CfnPrivateDnsNamespace.Builder |
description(String description)
A description for the namespace.
|
CfnPrivateDnsNamespace.Builder |
name(String name)
The name that you want to assign to this namespace.
|
CfnPrivateDnsNamespace.Builder |
properties(CfnPrivateDnsNamespace.PropertiesProperty properties)
Properties for the private DNS namespace.
|
CfnPrivateDnsNamespace.Builder |
properties(IResolvable properties)
Properties for the private DNS namespace.
|
CfnPrivateDnsNamespace.Builder |
tags(List<? extends CfnTag> tags)
The tags for the namespace.
|
CfnPrivateDnsNamespace.Builder |
vpc(String vpc)
The ID of the Amazon VPC that you want to associate the namespace with.
|
@Stability(value=Stable) public static CfnPrivateDnsNamespace.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnPrivateDnsNamespace.PrivateDnsPropertiesMutableProperty.Builder.@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder name(String name)
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.
name - The name that you want to assign to this namespace. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder vpc(String vpc)
vpc - The ID of the Amazon VPC that you want to associate the namespace with. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder description(String description)
description - A description for the namespace. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder properties(CfnPrivateDnsNamespace.PropertiesProperty properties)
properties - Properties for the private DNS namespace. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder properties(IResolvable properties)
properties - Properties for the private DNS namespace. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace.Builder tags(List<? extends CfnTag> tags)
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.
tags - The tags for the namespace. This parameter is required.this@Stability(value=Stable) public CfnPrivateDnsNamespace build()
build in interface software.amazon.jsii.Builder<CfnPrivateDnsNamespace>Copyright © 2022. All rights reserved.