Interface CfnDomainNameProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainNameProps.Jsii$Proxy
CfnDomainName.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigateway.*;
CfnDomainNameProps cfnDomainNameProps = CfnDomainNameProps.builder()
.certificateArn("certificateArn")
.domainName("domainName")
.endpointAccessMode("endpointAccessMode")
.endpointConfiguration(EndpointConfigurationProperty.builder()
.ipAddressType("ipAddressType")
.types(List.of("types"))
.build())
.mutualTlsAuthentication(MutualTlsAuthenticationProperty.builder()
.truststoreUri("truststoreUri")
.truststoreVersion("truststoreVersion")
.build())
.ownershipVerificationCertificateArn("ownershipVerificationCertificateArn")
.regionalCertificateArn("regionalCertificateArn")
.routingMode("routingMode")
.securityPolicy("securityPolicy")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainNamePropsstatic final classAn implementation forCfnDomainNameProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDomainNameProps.Builderbuilder()default StringThe reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.default StringThe custom domain name as an API host name, for example,my-api.example.com.default StringThe endpoint access mode for your DomainName.default ObjectThe endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.default ObjectThe mutual TLS authentication configuration for a custom domain name.default StringThe ARN of the public certificate issued by ACM to validate ownership of your custom domain.default StringThe reference to an AWS -managed certificate that will be used for validating the regional domain name.default StringThe routing mode for this domain name.default StringThe Transport Layer Security (TLS) version + cipher suite for this DomainName.getTags()The collection of tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificateArn
The reference to an AWS -managed certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.Certificate Manager is the only supported source.
- See Also:
-
getDomainName
The custom domain name as an API host name, for example,my-api.example.com.- See Also:
-
getEndpointAccessMode
The endpoint access mode for your DomainName.- See Also:
-
getEndpointConfiguration
The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.Returns union: either
IResolvableorCfnDomainName.EndpointConfigurationProperty- See Also:
-
getMutualTlsAuthentication
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.
Returns union: either
IResolvableorCfnDomainName.MutualTlsAuthenticationProperty- See Also:
-
getOwnershipVerificationCertificateArn
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.
- See Also:
-
getRegionalCertificateArn
The reference to an AWS -managed certificate that will be used for validating the regional domain name.Certificate Manager is the only supported source.
- See Also:
-
getRoutingMode
The routing mode for this domain name.The routing mode determines how API Gateway sends traffic from your custom domain name to your public APIs.
Default: - "BASE_PATH_MAPPING_ONLY"
- See Also:
-
getSecurityPolicy
The Transport Layer Security (TLS) version + cipher suite for this DomainName.- See Also:
-
getTags
The collection of tags.Each tag element is associated with a given resource.
- See Also:
-
builder
- Returns:
- a
CfnDomainNameProps.BuilderofCfnDomainNameProps
-