@Stability(value=Stable)
public static interface CfnApiGatewayManagedOverrides.RouteOverridesProperty
extends software.amazon.jsii.JsiiSerializable
If you remove this property, API Gateway restores the default values.
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.*;
RouteOverridesProperty routeOverridesProperty = RouteOverridesProperty.builder()
.authorizationScopes(List.of("authorizationScopes"))
.authorizationType("authorizationType")
.authorizerId("authorizerId")
.operationName("operationName")
.target("target")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder
A builder for
CfnApiGatewayManagedOverrides.RouteOverridesProperty |
static class |
CfnApiGatewayManagedOverrides.RouteOverridesProperty.Jsii$Proxy
An implementation for
CfnApiGatewayManagedOverrides.RouteOverridesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder |
builder() |
default List<String> |
getAuthorizationScopes()
The authorization scopes supported by this route.
|
default String |
getAuthorizationType()
The authorization type for the route.
|
default String |
getAuthorizerId()
The identifier of the `Authorizer` resource to be associated with this route.
|
default String |
getOperationName()
The operation name for the route.
|
default String |
getTarget()
For HTTP integrations, specify a fully qualified URL.
|
@Stability(value=Stable) @Nullable default List<String> getAuthorizationScopes()
@Stability(value=Stable) @Nullable default String getAuthorizationType()
To learn more, see AuthorizationType .
@Stability(value=Stable) @Nullable default String getAuthorizerId()
The authorizer identifier is generated by API Gateway when you created the authorizer.
@Stability(value=Stable) @Nullable default String getOperationName()
@Stability(value=Stable) @Nullable default String getTarget()
For Lambda integrations, specify a function ARN. The type of the integration will be HTTP_PROXY or AWS_PROXY, respectively.
@Stability(value=Stable) static CfnApiGatewayManagedOverrides.RouteOverridesProperty.Builder builder()
Copyright © 2022. All rights reserved.