AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

PublicDnsNamespace

Define a Public DNS Namespace.

Import

import { PublicDnsNamespace } from 'aws-cdk-lib/aws-servicediscovery';

Or use the module namespace:

import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.PublicDnsNamespace

Properties

Configuration passed to the constructor as PublicDnsNamespaceProps.

2 properties inherited from BaseNamespaceProps
nameRequiredinherited from BaseNamespaceProps
string

A name for the Namespace.

descriptionOptionalinherited from BaseNamespaceProps
string

A description of the Namespace.

Default: none

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter