AWS::ServiceDiscovery::PrivateDnsNamespaceResource Type definition for AWS::ServiceDiscovery::PrivateDnsNamespace
5 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | RequiredCreate-only |
Description | string | |
Properties | Properties | |
Tags | Array<Tag> | |
Vpc | string | Create-onlyWrite-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the private namespace. |
HostedZoneId | string | The ID for the Route 53 hosted zone that AWS Cloud Map creates when you create a namespace. |
Id | string | The ID of the private namespace. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ServiceDiscovery::PrivateDnsNamespace
Resources:
MyResource:
Type: AWS::ServiceDiscovery::PrivateDnsNamespace
Properties:
Name: "my-name"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
servicediscovery:CreatePrivateDnsNamespaceservicediscovery:TagResourceservicediscovery:GetOperationservicediscovery:GetNamespaceservicediscovery:ListTagsForResourceroute53:CreateHostedZoneroute53:GetHostedZoneroute53:ListHostedZonesByNameec2:DescribeVpcsec2:DescribeRegionsservicediscovery:GetNamespaceservicediscovery:ListTagsForResourceservicediscovery:UpdatePrivateDnsNamespaceservicediscovery:UntagResourceservicediscovery:TagResourceservicediscovery:GetOperationservicediscovery:GetNamespaceservicediscovery:ListTagsForResourceroute53:ChangeResourceRecordSetsservicediscovery:DeleteNamespaceservicediscovery:GetOperationservicediscovery:ListNamespacesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
VpcName