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,
      domain_name_status: "AVAILABLE", # accepts AVAILABLE, UPDATING
      domain_name_status_message: "__string",
      endpoint_type: "REGIONAL", # accepts REGIONAL, EDGE
      hosted_zone_id: "__string",
      security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
    },
  ],
  tags: {
    "__string" => "StringWithLengthBetween1And1600",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#domain_nameString

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

Returns:

  • (String)


1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1170

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

#domain_name_configurationsArray<Types::DomainNameConfiguration>

The domain name configurations.

Returns:



1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1170

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

#tagsHash<String,String>

Represents a collection of tags associated with the resource.

Returns:

  • (Hash<String,String>)


1170
1171
1172
1173
1174
1175
1176
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 1170

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