Class: Aws::ServiceDiscovery::Types::CreatePrivateDnsNamespaceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::CreatePrivateDnsNamespaceRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
When making an API call, you may pass CreatePrivateDnsNamespaceRequest data as a hash:
{
name: "NamespaceNamePrivate", # required
creator_request_id: "ResourceId",
description: "ResourceDescription",
vpc: "ResourceId", # required
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
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 running 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 running the operation twice. `CreatorRequestId` can be any unique string, for example, a date/timestamp.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
133 134 135 136 137 138 139 140 141 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 133 class CreatePrivateDnsNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :vpc, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description for the namespace.
133 134 135 136 137 138 139 140 141 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 133 class CreatePrivateDnsNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :vpc, :tags) SENSITIVE = [] include Aws::Structure end |
#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.
133 134 135 136 137 138 139 140 141 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 133 class CreatePrivateDnsNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :vpc, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.
133 134 135 136 137 138 139 140 141 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 133 class CreatePrivateDnsNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :vpc, :tags) SENSITIVE = [] include Aws::Structure end |
#vpc ⇒ String
The ID of the Amazon VPC that you want to associate the namespace with.
133 134 135 136 137 138 139 140 141 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 133 class CreatePrivateDnsNamespaceRequest < Struct.new( :name, :creator_request_id, :description, :vpc, :tags) SENSITIVE = [] include Aws::Structure end |