You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ServiceDiscovery::Types::CreatePrivateDnsNamespaceRequest

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

Overview

Note:

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

{
  name: "NamespaceName", # required
  creator_request_id: "ResourceId",
  description: "ResourceDescription",
  vpc: "ResourceId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#creator_request_idString

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


48
49
50
51
52
53
54
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 48

class CreatePrivateDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :vpc)
  include Aws::Structure
end

#descriptionString

A description for the namespace.

Returns:

  • (String)


48
49
50
51
52
53
54
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 48

class CreatePrivateDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :vpc)
  include Aws::Structure
end

#nameString

The name that you want to assign to this namespace. When you create a namespace, Amazon Route 53 automatically creates a hosted zone that has the same name as the namespace.

Returns:

  • (String)


48
49
50
51
52
53
54
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 48

class CreatePrivateDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :vpc)
  include Aws::Structure
end

#vpcString

The ID of the Amazon VPC that you want to associate the namespace with.

Returns:

  • (String)


48
49
50
51
52
53
54
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 48

class CreatePrivateDnsNamespaceRequest < Struct.new(
  :name,
  :creator_request_id,
  :description,
  :vpc)
  include Aws::Structure
end