Skip to content

DomainName

Source code in docs_src/capo_api_gateway/types/domain_name.py
class DomainName(TypedDict, closed=True):
    domain_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The custom domain name as an API host name, for example, <code>my-api.example.com</code>.</p>"""
    domain_name_id: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The identifier for the domain name resource. Supported only for private custom domain names.</p>"""
    domain_name_arn: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The ARN of the domain name. </p>"""
    certificate_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.</p>"""
    certificate_arn: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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.</p>"""
    certificate_upload_date: NotRequired["capo_api_gateway.types.timestamp.Timestamp"]
    """<p>The timestamp when the certificate that was used by edge-optimized endpoint or private endpoint for this domain name was uploaded.</p>"""
    regional_domain_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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.</p>"""
    regional_hosted_zone_id: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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. </p>"""
    regional_certificate_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The name of the certificate that will be used for validating the regional domain name.</p>"""
    regional_certificate_arn: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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.</p>"""
    distribution_domain_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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.</p>"""
    distribution_hosted_zone_id: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions. For more information, see Set up a Regional Custom Domain Name and AWS Regions and Endpoints for API Gateway. </p>"""
    endpoint_configuration: NotRequired[
        "capo_api_gateway.types.endpoint_configuration.EndpointConfiguration"
    ]
    """<p>The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name. </p>"""
    domain_name_status: NotRequired[
        "capo_api_gateway.types.domain_name_status.DomainNameStatus"
    ]
    """<p>The status of the DomainName migration. The valid values are <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is <code>UPDATING</code>, the domain cannot be modified further until the existing operation is complete. If it is <code>AVAILABLE</code>, the domain can be updated.</p>"""
    domain_name_status_message: NotRequired["capo_api_gateway.types.string.String"]
    """<p>An optional text message containing detailed information about status of the DomainName migration.</p>"""
    security_policy: NotRequired[
        "capo_api_gateway.types.security_policy.SecurityPolicy"
    ]
    """<p>The Transport Layer Security (TLS) version + cipher suite for this DomainName.</p>"""
    endpoint_access_mode: NotRequired[
        "capo_api_gateway.types.endpoint_access_mode.EndpointAccessMode"
    ]
    """<p> The endpoint access mode of the DomainName. </p>"""
    tags: NotRequired[
        "capo_api_gateway.types.map_of_string_to_string.MapOfStringToString"
    ]
    """<p>The collection of tags. Each tag element is associated with a given resource.</p>"""
    mutual_tls_authentication: NotRequired[
        "capo_api_gateway.types.mutual_tls_authentication.MutualTlsAuthentication"
    ]
    """<p>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.</p>"""
    ownership_verification_certificate_arn: NotRequired[
        "capo_api_gateway.types.string.String"
    ]
    """<p>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.</p>"""
    management_policy: NotRequired["capo_api_gateway.types.string.String"]
    """<p>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.</p>"""
    policy: NotRequired["capo_api_gateway.types.string.String"]
    """<p>A stringified JSON policy document that applies to the <code>execute-api</code> service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.</p>"""
    routing_mode: NotRequired["capo_api_gateway.types.routing_mode.RoutingMode"]
    """<p>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.</p>"""

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.