Class: Aws::ServiceDiscovery::Types::CreatePublicDnsNamespaceRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-servicediscovery/types.rb

Overview

Note:

When making an API call, you may pass CreatePublicDnsNamespaceRequest data as a hash:

{
  name: "NamespaceNamePublic", # required
  creator_request_id: "ResourceId",
  description: "ResourceDescription",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  properties: {
    dns_properties: { # required
      soa: { # required
        ttl: 1, # required
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creator_request_idString

A unique string that identifies the request and that allows failed `CreatePublicDnsNamespace` 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.

Returns:

  • (String)

226
227
228
229
230
231
232
233
234
# File 'lib/aws-sdk-servicediscovery/types.rb', line 226

class CreatePublicDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :tags,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the namespace.

Returns:

  • (String)

226
227
228
229
230
231
232
233
234
# File 'lib/aws-sdk-servicediscovery/types.rb', line 226

class CreatePublicDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :tags,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name that you want to assign to this namespace.

Returns:

  • (String)

226
227
228
229
230
231
232
233
234
# File 'lib/aws-sdk-servicediscovery/types.rb', line 226

class CreatePublicDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :tags,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#propertiesTypes::PublicDnsNamespaceProperties

Properties for the public DNS namespace.


226
227
228
229
230
231
232
233
234
# File 'lib/aws-sdk-servicediscovery/types.rb', line 226

class CreatePublicDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :tags,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<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.

Returns:


226
227
228
229
230
231
232
233
234
# File 'lib/aws-sdk-servicediscovery/types.rb', line 226

class CreatePublicDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :tags,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end