Skip to content
v2.273.0

CfnPublicDnsNamespaceProps Struct ​

Properties for defining a CfnPublicDnsNamespace.

Example ​

ts
// 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 ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
A description for the namespace.
namestringnamestrnameStringNamestringName*stringrequired#
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.

propertiesIResolvable | CfnPublicDnsNamespace.PropertiesPropertypropertiestyping.Union[IResolvable, PropertiesProperty]propertiesIResolvablePropertiesIResolvablePropertiesinterface{}#
Properties for the public DNS namespace.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
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.

Used as props by ​