AWS Fundamentals Logo
AWS Fundamentals
AWS::ServiceDiscovery::PrivateDnsNamespace

ServiceDiscovery PrivateDnsNamespace

Resource Type definition for AWS::ServiceDiscovery::PrivateDnsNamespace

Properties

5 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
Name
string
RequiredCreate-only
Vpc
string
RequiredCreate-only
Description
string
Properties
Properties
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-
HostedZoneIdstring-
Idstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ServiceDiscovery::PrivateDnsNamespace

Resources:
  MyResource:
    Type: AWS::ServiceDiscovery::PrivateDnsNamespace
    Properties:
      Vpc: "value"
      Name: "my-name"
      Tags:
        - Key: Environment
          Value: Production
      Description: !Ref "AWS::StackName"

Learn AWS the Practical Way

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

Subscribe to Newsletter

Quick Facts

ServiceServiceDiscovery
Properties8
Required2
TaggingNot supported
Primary IDId

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

VpcName

External Links