Interface CfnDomainNameV2.EndpointConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainNameV2.EndpointConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDomainNameV2
@Stability(Stable)
public static interface CfnDomainNameV2.EndpointConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.
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.*;
EndpointConfigurationProperty endpointConfigurationProperty = EndpointConfigurationProperty.builder()
.ipAddressType("ipAddressType")
.types(List.of("types"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainNameV2.EndpointConfigurationPropertystatic final classAn implementation forCfnDomainNameV2.EndpointConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpAddressType
The IP address types that can invoke an API (RestApi) or a DomainName.Use
ipv4to allow only IPv4 addresses to invoke an API or DomainName, or usedualstackto allow both IPv4 and IPv6 addresses to invoke an API or a DomainName. For thePRIVATEendpoint type, onlydualstackis supported.- See Also:
-
getTypes
A list of endpoint types of an API (RestApi) or its custom domain name (DomainName).For an edge-optimized API and its custom domain name, the endpoint type is
"EDGE". For a regional API and its custom domain name, the endpoint type isREGIONAL. For a private API, the endpoint type isPRIVATE.- See Also:
-
builder
-