Interface CfnDomainNameProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainNameProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:13.473Z")
@Stability(Stable)
public interface CfnDomainNameProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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.apigatewayv2.*;
CfnDomainNameProps cfnDomainNameProps = CfnDomainNameProps.builder()
.domainName("domainName")
// the properties below are optional
.domainNameConfigurations(List.of(DomainNameConfigurationProperty.builder()
.certificateArn("certificateArn")
.certificateName("certificateName")
.endpointType("endpointType")
.ipAddressType("ipAddressType")
.ownershipVerificationCertificateArn("ownershipVerificationCertificateArn")
.securityPolicy("securityPolicy")
.build()))
.mutualTlsAuthentication(MutualTlsAuthenticationProperty.builder()
.truststoreUri("truststoreUri")
.truststoreVersion("truststoreVersion")
.build())
.routingMode("routingMode")
.tags(Map.of(
"tagsKey", "tags"))
.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()The custom domain name for your API in Amazon API Gateway.default ObjectThe domain name configurations.default ObjectThe mutual TLS authentication configuration for a custom domain name.default StringThe routing mode API Gateway uses to route traffic to your APIs.getTags()The collection of tags associated with a domain name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
The custom domain name for your API in Amazon API Gateway.Uppercase letters and the underscore (
_) character are not supported.- See Also:
-
getDomainNameConfigurations
The domain name configurations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDomainName.DomainNameConfigurationProperty>- See Also:
-
getMutualTlsAuthentication
The mutual TLS authentication configuration for a custom domain name.Returns union: either
IResolvableorCfnDomainName.MutualTlsAuthenticationProperty- See Also:
-
getRoutingMode
The routing mode API Gateway uses to route traffic to your APIs.Default: - "API_MAPPING_ONLY"
- See Also:
-
getTags
The collection of tags associated with a domain name.- See Also:
-
builder
- Returns:
- a
CfnDomainNameProps.BuilderofCfnDomainNameProps
-