Interface CfnDomainNameV2Props
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainNameV2Props.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:04.111Z")
@Stability(Stable)
public interface CfnDomainNameV2Props
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDomainNameV2.
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.*;
Object policy;
CfnDomainNameV2Props cfnDomainNameV2Props = CfnDomainNameV2Props.builder()
.certificateArn("certificateArn")
.domainName("domainName")
.endpointAccessMode("endpointAccessMode")
.endpointConfiguration(EndpointConfigurationProperty.builder()
.ipAddressType("ipAddressType")
.types(List.of("types"))
.build())
.policy(policy)
.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 forCfnDomainNameV2Propsstatic final classAn implementation forCfnDomainNameV2Props -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDomainNameV2Props.Builderbuilder()default StringThe reference to an AWS -managed certificate that will be used by the private endpoint for this domain name.default StringRepresents a custom domain name as a user-friendly host name of an API (RestApi).default StringThe endpoint access mode for your DomainName.default ObjectThe endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.default ObjectA stringified JSON policy document that applies to theexecute-apiservice for this DomainName regardless of the caller and Method configuration.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 the private endpoint for this domain name.AWS Certificate Manager is the only supported source.
- See Also:
-
getDomainName
Represents a custom domain name as a user-friendly host name of an API (RestApi).- See Also:
-
getEndpointAccessMode
The endpoint access mode for your DomainName.- See Also:
-
getEndpointConfiguration
The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.Returns union: either
IResolvableorCfnDomainNameV2.EndpointConfigurationProperty- See Also:
-
getPolicy
A stringified JSON policy document that applies to theexecute-apiservice for this DomainName regardless of the caller and Method configuration.You can use
Fn::ToJsonStringto enter yourpolicy. For more information, see Fn::ToJsonString .- 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 private 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
CfnDomainNameV2Props.BuilderofCfnDomainNameV2Props
-