Class: Aws::APIGateway::Types::CreateDomainNameRequest

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

Overview

A request to create a new domain name.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

The reference to an Amazon Web Services-managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name. Certificate Manager is the only supported source.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_bodyString

[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint or private endpoint for this domain name provided by your certificate authority.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_chainString

[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_nameString

The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_private_keyString

[Deprecated] Your edge-optimized endpoint’s domain name certificate’s private key.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#domain_nameString

The name of the DomainName resource.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_configurationTypes::EndpointConfiguration

The endpoint configuration of this DomainName showing the endpoint types of the domain name.



899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#mutual_tls_authenticationTypes::MutualTlsAuthenticationInput

The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.



899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#ownership_verification_certificate_arnString

The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

A stringified JSON policy document that applies to the ‘execute-api` service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#regional_certificate_arnString

The reference to an Amazon Web Services-managed certificate that will be used by regional endpoint for this domain name. Certificate Manager is the only supported source.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#regional_certificate_nameString

The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#security_policyString

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are ‘TLS_1_0` and `TLS_1_2`.

Returns:

  • (String)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ‘aws:`. The tag value can be up to 256 characters.

Returns:

  • (Hash<String,String>)


899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-apigateway/types.rb', line 899

class CreateDomainNameRequest < Struct.new(
  :domain_name,
  :certificate_name,
  :certificate_body,
  :certificate_private_key,
  :certificate_chain,
  :certificate_arn,
  :regional_certificate_name,
  :regional_certificate_arn,
  :endpoint_configuration,
  :tags,
  :security_policy,
  :mutual_tls_authentication,
  :ownership_verification_certificate_arn,
  :policy)
  SENSITIVE = []
  include Aws::Structure
end