Create Domain Name
apigateway_create_domain_name | R Documentation |
Creates a new domain name¶
Description¶
Creates a new domain name.
Usage¶
apigateway_create_domain_name(domainName, certificateName,
certificateBody, certificatePrivateKey, certificateChain,
certificateArn, regionalCertificateName, regionalCertificateArn,
endpointConfiguration, tags, securityPolicy, mutualTlsAuthentication,
ownershipVerificationCertificateArn)
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 for this domain name.
certificateBody
[Deprecated] The body of the server certificate that will be used by edge-optimized 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 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 of the domain name.
tags
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. The valid values are
TLS_1_0
andTLS_1_2
.mutualTlsAuthentication
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.
Value¶
A list with the following syntax:
list(
domainName = "string",
certificateName = "string",
certificateArn = "string",
certificateUploadDate = as.POSIXct(
"2015-01-01"
),
regionalDomainName = "string",
regionalHostedZoneId = "string",
regionalCertificateName = "string",
regionalCertificateArn = "string",
distributionDomainName = "string",
distributionHostedZoneId = "string",
endpointConfiguration = list(
types = list(
"REGIONAL"|"EDGE"|"PRIVATE"
),
vpcEndpointIds = list(
"string"
)
),
domainNameStatus = "AVAILABLE"|"UPDATING"|"PENDING"|"PENDING_CERTIFICATE_REIMPORT"|"PENDING_OWNERSHIP_VERIFICATION",
domainNameStatusMessage = "string",
securityPolicy = "TLS_1_0"|"TLS_1_2",
tags = list(
"string"
),
mutualTlsAuthentication = list(
truststoreUri = "string",
truststoreVersion = "string",
truststoreWarnings = list(
"string"
)
),
ownershipVerificationCertificateArn = "string"
)
Request syntax¶
svc$create_domain_name(
domainName = "string",
certificateName = "string",
certificateBody = "string",
certificatePrivateKey = "string",
certificateChain = "string",
certificateArn = "string",
regionalCertificateName = "string",
regionalCertificateArn = "string",
endpointConfiguration = list(
types = list(
"REGIONAL"|"EDGE"|"PRIVATE"
),
vpcEndpointIds = list(
"string"
)
),
tags = list(
"string"
),
securityPolicy = "TLS_1_0"|"TLS_1_2",
mutualTlsAuthentication = list(
truststoreUri = "string",
truststoreVersion = "string"
),
ownershipVerificationCertificateArn = "string"
)