Interface EndpointConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EndpointConfiguration.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.940Z")
@Stability(Stable)
public interface EndpointConfiguration
extends software.amazon.jsii.JsiiSerializable
The endpoint configuration of a REST API, including VPCs and endpoint types.
EndpointConfiguration is a property of the AWS::ApiGateway::RestApi resource.
Example:
RestApi api = RestApi.Builder.create(this, "api") .endpointConfiguration(EndpointConfiguration.builder() .types(List.of(EndpointType.EDGE)) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEndpointConfiguration
static final class
An implementation forEndpointConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getTypes()
A list of endpoint types of an API or its custom domain name.default List<IVpcEndpoint>
A list of VPC Endpoints against which to create Route53 ALIASes.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTypes
A list of endpoint types of an API or its custom domain name.Default: EndpointType.EDGE
-
getVpcEndpoints
A list of VPC Endpoints against which to create Route53 ALIASes.Default: - no ALIASes are created for the endpoint.
-
builder
- Returns:
- a
EndpointConfiguration.Builder
ofEndpointConfiguration
-