class
Amazonite::ApiGateway::DomainName
- Amazonite::ApiGateway::DomainName
- Reference
- Object
Overview
Represents a custom domain name as a user-friendly host name of an API (RestApi).
Included Modules
- JSON::Serializable
Defined in:
api_gateway/domain_name.crConstructors
- .new(pull : JSON::PullParser)
- .new(domain_name : String | Nil = nil, domain_name_id : String | Nil = nil, domain_name_arn : String | Nil = nil, certificate_name : String | Nil = nil, certificate_arn : String | Nil = nil, certificate_upload_date : Time | Nil = nil, regional_domain_name : String | Nil = nil, regional_hosted_zone_id : String | Nil = nil, regional_certificate_name : String | Nil = nil, regional_certificate_arn : String | Nil = nil, distribution_domain_name : String | Nil = nil, distribution_hosted_zone_id : String | Nil = nil, endpoint_configuration : EndpointConfiguration | Nil = nil, domain_name_status : DomainNameStatus | Nil = nil, domain_name_status_message : String | Nil = nil, security_policy : SecurityPolicy | Nil = nil, endpoint_access_mode : EndpointAccessMode | Nil = nil, tags : Hash(String, String) | Nil = nil, mutual_tls_authentication : MutualTlsAuthentication | Nil = nil, ownership_verification_certificate_arn : String | Nil = nil, management_policy : String | Nil = nil, policy : String | Nil = nil, routing_mode : RoutingMode | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#certificate_arn : String | Nil
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_arn=(certificate_arn : String | Nil)
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_name : String | Nil
The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
-
#certificate_name=(certificate_name : String | Nil)
The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
-
#certificate_upload_date : Time | Nil
The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.
-
#certificate_upload_date=(certificate_upload_date : Time | Nil)
The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.
-
#distribution_domain_name : String | Nil
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint.
-
#distribution_domain_name=(distribution_domain_name : String | Nil)
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint.
-
#distribution_hosted_zone_id : String | Nil
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint.
-
#distribution_hosted_zone_id=(distribution_hosted_zone_id : String | Nil)
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint.
-
#domain_name : String | Nil
The custom domain name as an API host name, for example,
my-api.example.com. -
#domain_name=(domain_name : String | Nil)
The custom domain name as an API host name, for example,
my-api.example.com. -
#domain_name_arn : String | Nil
The ARN of the domain name.
-
#domain_name_arn=(domain_name_arn : String | Nil)
The ARN of the domain name.
-
#domain_name_id : String | Nil
The identifier for the domain name resource.
-
#domain_name_id=(domain_name_id : String | Nil)
The identifier for the domain name resource.
-
#domain_name_status : DomainNameStatus | Nil
The status of the DomainName migration.
-
#domain_name_status=(domain_name_status : DomainNameStatus | Nil)
The status of the DomainName migration.
-
#domain_name_status_message : String | Nil
An optional text message containing detailed information about status of the DomainName migration.
-
#domain_name_status_message=(domain_name_status_message : String | Nil)
An optional text message containing detailed information about status of the DomainName migration.
-
#endpoint_access_mode : EndpointAccessMode | Nil
The endpoint access mode of the DomainName.
-
#endpoint_access_mode=(endpoint_access_mode : EndpointAccessMode | Nil)
The endpoint access mode of the DomainName.
-
#endpoint_configuration : EndpointConfiguration | Nil
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
-
#endpoint_configuration=(endpoint_configuration : EndpointConfiguration | Nil)
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
-
#hash(hasher)
See
Object#hash(hasher) -
#management_policy : String | Nil
A stringified JSON policy document that applies to the API Gateway Management service for this DomainName.
-
#management_policy=(management_policy : String | Nil)
A stringified JSON policy document that applies to the API Gateway Management service for this DomainName.
-
#mutual_tls_authentication : MutualTlsAuthentication | Nil
The mutual TLS authentication configuration for a custom domain name.
-
#mutual_tls_authentication=(mutual_tls_authentication : MutualTlsAuthentication | Nil)
The mutual TLS authentication configuration for a custom domain name.
-
#ownership_verification_certificate_arn : String | Nil
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
-
#ownership_verification_certificate_arn=(ownership_verification_certificate_arn : String | Nil)
The ARN of the public certificate issued by ACM to validate ownership of your custom domain.
-
#policy : String | Nil
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. -
#policy=(policy : String | Nil)
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. -
#regional_certificate_arn : String | Nil
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain name.
-
#regional_certificate_arn=(regional_certificate_arn : String | Nil)
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain name.
-
#regional_certificate_name : String | Nil
The name of the certificate that will be used for validating the regional domain name.
-
#regional_certificate_name=(regional_certificate_name : String | Nil)
The name of the certificate that will be used for validating the regional domain name.
-
#regional_domain_name : String | Nil
The domain name associated with the regional endpoint for this custom domain name.
-
#regional_domain_name=(regional_domain_name : String | Nil)
The domain name associated with the regional endpoint for this custom domain name.
-
#regional_hosted_zone_id : String | Nil
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
-
#regional_hosted_zone_id=(regional_hosted_zone_id : String | Nil)
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
-
#routing_mode : RoutingMode | Nil
The routing mode for this domain name.
-
#routing_mode=(routing_mode : RoutingMode | Nil)
The routing mode for this domain name.
-
#security_policy : SecurityPolicy | Nil
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
-
#security_policy=(security_policy : SecurityPolicy | Nil)
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
-
#tags : Hash(String, String) | Nil
The collection of tags.
-
#tags=(tags : Hash(String, String) | Nil)
The collection of tags.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.
The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.
The domain name of the Amazon CloudFront distribution associated with this custom domain name for an edge-optimized endpoint. You set up this association when adding a DNS record pointing the custom domain name to this distribution name. For more information about CloudFront distributions, see the Amazon CloudFront documentation.
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid
value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional
Custom Domain Name and AWS Regions and Endpoints for API Gateway.
The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid
value is Z2FDTNDATAQYW2 for all the regions. For more information, see Set up a Regional
Custom Domain Name and AWS Regions and Endpoints for API Gateway.
The custom domain name as an API host name, for example, my-api.example.com.
The custom domain name as an API host name, for example, my-api.example.com.
The identifier for the domain name resource. Supported only for private custom domain names.
The identifier for the domain name resource. Supported only for private custom domain names.
The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the
status is UPDATING, the domain cannot be modified further until the existing operation is
complete. If it is AVAILABLE, the domain can be updated.
The status of the DomainName migration. The valid values are AVAILABLE and UPDATING. If the
status is UPDATING, the domain cannot be modified further until the existing operation is
complete. If it is AVAILABLE, the domain can be updated.
An optional text message containing detailed information about status of the DomainName migration.
An optional text message containing detailed information about status of the DomainName migration.
The endpoint access mode of the DomainName.
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
A stringified JSON policy document that applies to the API Gateway Management service for this DomainName. This policy document controls access for access association sources to create domain name access associations with this DomainName. Supported only for private custom domain names.
A stringified JSON policy document that applies to the API Gateway Management service for this DomainName. This policy document controls access for access association sources to create domain name access associations with this DomainName. Supported only for private custom domain names.
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.
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.
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.
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.
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.
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.
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain name. Certificate Manager is the only supported source.
The reference to an Amazon Web Services-managed certificate that will be used for validating the regional domain name. Certificate Manager is the only supported source.
The name of the certificate that will be used for validating the regional domain name.
The name of the certificate that will be used for validating the regional domain name.
The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.
The domain name associated with the regional endpoint for this custom domain name. You set up this association by adding a DNS record that points the custom domain name to this regional domain name. The regional domain name is returned by API Gateway when you create a regional endpoint.
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.
The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway.
The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
The routing mode for this domain name. The routing mode determines how API Gateway sends traffic from your custom domain name to your private APIs.
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.