DomainName
¶
Source code in docs_src/capo_api_gateway/types/domain_name.py
certificate_arn
instance-attribute
¶
certificate_arn: NotRequired[String]
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.
certificate_name
instance-attribute
¶
certificate_name: NotRequired[String]
The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
certificate_upload_date
instance-attribute
¶
certificate_upload_date: NotRequired[Timestamp]
The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.
distribution_domain_name
instance-attribute
¶
distribution_domain_name: NotRequired[String]
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.
distribution_hosted_zone_id
instance-attribute
¶
distribution_hosted_zone_id: NotRequired[String]
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.
domain_name
instance-attribute
¶
domain_name: NotRequired[String]
The custom domain name as an API host name, for example, my-api.example.com.
domain_name_arn
instance-attribute
¶
domain_name_arn: NotRequired[String]
The ARN of the domain name.
domain_name_id
instance-attribute
¶
domain_name_id: NotRequired[String]
The identifier for the domain name resource. Supported only for private custom domain names.
domain_name_status
instance-attribute
¶
domain_name_status: NotRequired[DomainNameStatus]
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.
domain_name_status_message
instance-attribute
¶
domain_name_status_message: NotRequired[String]
An optional text message containing detailed information about status of the DomainName migration.
endpoint_access_mode
instance-attribute
¶
endpoint_access_mode: NotRequired[EndpointAccessMode]
The endpoint access mode of the DomainName.
endpoint_configuration
instance-attribute
¶
endpoint_configuration: NotRequired[EndpointConfiguration]
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
management_policy
instance-attribute
¶
management_policy: NotRequired[String]
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.
mutual_tls_authentication
instance-attribute
¶
mutual_tls_authentication: NotRequired[MutualTlsAuthentication]
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.
ownership_verification_certificate_arn
instance-attribute
¶
ownership_verification_certificate_arn: NotRequired[String]
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.
policy
instance-attribute
¶
policy: NotRequired[String]
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.
regional_certificate_arn
instance-attribute
¶
regional_certificate_arn: NotRequired[String]
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.
regional_certificate_name
instance-attribute
¶
regional_certificate_name: NotRequired[String]
The name of the certificate that will be used for validating the regional domain name.
regional_domain_name
instance-attribute
¶
regional_domain_name: NotRequired[String]
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.
regional_hosted_zone_id
instance-attribute
¶
regional_hosted_zone_id: NotRequired[String]
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.
routing_mode
instance-attribute
¶
routing_mode: NotRequired[RoutingMode]
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.
security_policy
instance-attribute
¶
security_policy: NotRequired[SecurityPolicy]
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
tags
instance-attribute
¶
tags: NotRequired[MapOfStringToString]
The collection of tags. Each tag element is associated with a given resource.