@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.259Z") @Stability(value=Stable) public class PublicDnsNamespace extends Resource implements IPublicDnsNamespace
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicediscovery.*;
PublicDnsNamespace publicDnsNamespace = PublicDnsNamespace.Builder.create(this, "MyPublicDnsNamespace")
.name("name")
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
PublicDnsNamespace.Builder
A fluent builder for
PublicDnsNamespace. |
software.amazon.jsii.JsiiObject.InitializationModeIPublicDnsNamespace.Jsii$Default, IPublicDnsNamespace.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
PublicDnsNamespace(software.constructs.Construct scope,
String id,
PublicDnsNamespaceProps props) |
protected |
PublicDnsNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PublicDnsNamespace(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Service |
createService(String id)
Creates a service within the namespace.
|
Service |
createService(String id,
DnsServiceProps props)
Creates a service within the namespace.
|
static IPublicDnsNamespace |
fromPublicDnsNamespaceAttributes(software.constructs.Construct scope,
String id,
PublicDnsNamespaceAttributes attrs) |
String |
getNamespaceArn()
Namespace Arn for the namespace.
|
String |
getNamespaceId()
Namespace Id for the namespace.
|
String |
getNamespaceName()
A name for the namespace.
|
String |
getPublicDnsNamespaceArn() |
String |
getPublicDnsNamespaceId() |
String |
getPublicDnsNamespaceName() |
NamespaceType |
getType()
Type of the namespace.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected PublicDnsNamespace(software.amazon.jsii.JsiiObjectRef objRef)
protected PublicDnsNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public PublicDnsNamespace(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PublicDnsNamespaceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public Service createService(@NotNull String id, @Nullable DnsServiceProps props)
id - This parameter is required.props - @Stability(value=Stable) @NotNull public Service createService(@NotNull String id)
id - This parameter is required.@Stability(value=Stable) @NotNull public static IPublicDnsNamespace fromPublicDnsNamespaceAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PublicDnsNamespaceAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public String getNamespaceArn()
getNamespaceArn in interface INamespace@Stability(value=Stable) @NotNull public String getNamespaceId()
getNamespaceId in interface INamespace@Stability(value=Stable) @NotNull public String getNamespaceName()
getNamespaceName in interface INamespace@Stability(value=Stable) @NotNull public String getPublicDnsNamespaceArn()
@Stability(value=Stable) @NotNull public String getPublicDnsNamespaceId()
@Stability(value=Stable) @NotNull public String getPublicDnsNamespaceName()
@Stability(value=Stable) @NotNull public NamespaceType getType()
getType in interface INamespaceCopyright © 2021. All rights reserved.