Skip to content

CreateDomainNameRequest

Source code in docs_src/capo_api_gateway/types/create_domain_name_request.py
class CreateDomainNameRequest(TypedDict, closed=True):
    domain_name: "capo_api_gateway.types.string.String"
    """<p>The name of the DomainName resource.</p>"""
    certificate_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.</p>"""
    certificate_body: NotRequired["capo_api_gateway.types.string.String"]
    """<p>[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.</p>"""
    certificate_private_key: NotRequired["capo_api_gateway.types.string.String"]
    """<p>[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.</p>"""
    certificate_chain: NotRequired["capo_api_gateway.types.string.String"]
    """<p>[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.</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>"""
    regional_certificate_name: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The user-friendly name of the certificate that will be used by regional endpoint for this 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 by regional endpoint for this domain name. Certificate Manager is the only supported source.</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>"""
    tags: NotRequired[
        "capo_api_gateway.types.map_of_string_to_string.MapOfStringToString"
    ]
    """<p>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 <code>aws:</code>. The tag value can be up to 256 characters.</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. Only available for DomainNames that use security policies that start with <code>SecurityPolicy_</code>. </p>"""
    mutual_tls_authentication: NotRequired[
        "capo_api_gateway.types.mutual_tls_authentication_input.MutualTlsAuthenticationInput"
    ]
    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>"""
    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_body instance-attribute

certificate_body: NotRequired[String]

[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.

certificate_chain instance-attribute

certificate_chain: NotRequired[String]

[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.

certificate_name instance-attribute

certificate_name: NotRequired[String]

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

certificate_private_key instance-attribute

certificate_private_key: NotRequired[String]

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

domain_name instance-attribute

domain_name: String

The name of the DomainName resource.

endpoint_access_mode instance-attribute

endpoint_access_mode: NotRequired[EndpointAccessMode]

The endpoint access mode of the DomainName. Only available for DomainNames that use security policies that start with SecurityPolicy_.

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.

mutual_tls_authentication instance-attribute

mutual_tls_authentication: NotRequired[MutualTlsAuthenticationInput]

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 by regional endpoint for this domain name. Certificate Manager is the only supported source.

regional_certificate_name instance-attribute

regional_certificate_name: NotRequired[String]

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

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 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.