Creates a new domain name.
See https://www.paws-r-sdk.com/docs/apigateway_create_domain_name/ for full documentation.
Usage
apigateway_create_domain_name(
domainName,
certificateName = NULL,
certificateBody = NULL,
certificatePrivateKey = NULL,
certificateChain = NULL,
certificateArn = NULL,
regionalCertificateName = NULL,
regionalCertificateArn = NULL,
endpointConfiguration = NULL,
tags = NULL,
securityPolicy = NULL,
endpointAccessMode = NULL,
mutualTlsAuthentication = NULL,
ownershipVerificationCertificateArn = NULL,
policy = NULL,
routingMode = NULL
)Arguments
- domainName
[required] The name of the DomainName resource.
- certificateName
The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
- certificateBody
[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.
- certificatePrivateKey
[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
- certificateChain
[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.
- certificateArn
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.
- regionalCertificateName
The user-friendly name of the certificate that will be used by regional endpoint for this domain name.
- regionalCertificateArn
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.
- endpointConfiguration
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
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.- securityPolicy
The Transport Layer Security (TLS) version + cipher suite for this DomainName.
- endpointAccessMode
The endpoint access mode of the DomainName. Only available for DomainNames that use security policies that start with
SecurityPolicy_.- 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.
- ownershipVerificationCertificateArn
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
A stringified JSON policy document that applies to the
execute-apiservice for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.- 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.