aws-cdk-lib.aws_servicediscovery.CfnPublicDnsNamespaceProps

interface CfnPublicDnsNamespaceProps

LanguageType name
.NETAmazon.CDK.AWS.ServiceDiscovery.CfnPublicDnsNamespaceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsservicediscovery#CfnPublicDnsNamespaceProps
Javasoftware.amazon.awscdk.services.servicediscovery.CfnPublicDnsNamespaceProps
Pythonaws_cdk.aws_servicediscovery.CfnPublicDnsNamespaceProps
TypeScript aws-cdk-lib » aws_servicediscovery » CfnPublicDnsNamespaceProps

Properties for defining a CfnPublicDnsNamespace.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as servicediscovery } from 'aws-cdk-lib';
const cfnPublicDnsNamespaceProps: servicediscovery.CfnPublicDnsNamespaceProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  properties: {
    dnsProperties: {
      soa: {
        ttl: 123,
      },
    },
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe name that you want to assign to this namespace.
description?stringA description for the namespace.
properties?IResolvable | PropertiesPropertyProperties for the public DNS namespace.
tags?CfnTag[]The tags for the namespace.

name

Type: string

The name that you want to assign to this namespace.

Do not include sensitive information in the name. The name is publicly available using DNS queries.


description?

Type: string (optional)

A description for the namespace.


properties?

Type: IResolvable | PropertiesProperty (optional)

Properties for the public DNS namespace.


tags?

Type: CfnTag[] (optional)

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.