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

Class: Aws::ApiGatewayV2::Types::CreateDomainNameRequest

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

Overview

Note:

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

{
  domain_name: "StringWithLengthBetween1And512", # required
  domain_name_configurations: [
    {
      api_gateway_domain_name: "__string",
      certificate_arn: "Arn",
      certificate_name: "StringWithLengthBetween1And128",
      certificate_upload_date: Time.now,
      endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
      hosted_zone_id: "__string",
      security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
      domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
      domain_name_status_message: "__string",
    },
  ],
  tags: {
    "__string" => "StringWithLengthBetween1And1600",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

A string with a length between [1-512].

Returns:

  • (String)


918
919
920
921
922
923
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 918

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :domain_name_configurations,
  :tags)
  include Aws::Structure
end

#domain_name_configurationsArray<Types::DomainNameConfiguration>

The domain name configurations.

Returns:



918
919
920
921
922
923
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 918

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :domain_name_configurations,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

A key value pair of string with key length between[1-128] and value length between[1-256]

Returns:

  • (Hash<String,String>)


918
919
920
921
922
923
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 918

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :domain_name_configurations,
  :tags)
  include Aws::Structure
end