You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ServiceDiscovery::Types::CreatePrivateDnsNamespaceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::CreatePrivateDnsNamespaceRequest
- Defined in:
- (unknown)
Overview
When passing CreatePrivateDnsNamespaceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "NamespaceName", # required
creator_request_id: "ResourceId",
description: "ResourceDescription",
vpc: "ResourceId", # required
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed
CreatePrivateDnsNamespace
requests to be retried without the risk of executing the operation twice. -
#description ⇒ String
A description for the namespace.
-
#name ⇒ String
The name that you want to assign to this namespace.
-
#tags ⇒ Array<Types::Tag>
The tags to add to the namespace.
-
#vpc ⇒ String
The ID of the Amazon VPC that you want to associate the namespace with.
Instance Attribute Details
#creator_request_id ⇒ String
A unique string that identifies the request and that allows failed
CreatePrivateDnsNamespace
requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
#description ⇒ String
A description for the namespace.
#name ⇒ String
The name that you want to assign to this namespace. When you create a private DNS namespace, AWS Cloud Map automatically creates an Amazon RouteĀ 53 private hosted zone that has the same name as the namespace.
#tags ⇒ Array<Types::Tag>
The tags to add to 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.
#vpc ⇒ String
The ID of the Amazon VPC that you want to associate the namespace with.