@Stability(value=Stable)
public static interface CfnApiGatewayManagedOverrides.StageOverridesProperty
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.*;
Object routeSettings;
Object stageVariables;
StageOverridesProperty stageOverridesProperty = StageOverridesProperty.builder()
.accessLogSettings(AccessLogSettingsProperty.builder()
.destinationArn("destinationArn")
.format("format")
.build())
.autoDeploy(false)
.defaultRouteSettings(RouteSettingsProperty.builder()
.dataTraceEnabled(false)
.detailedMetricsEnabled(false)
.loggingLevel("loggingLevel")
.throttlingBurstLimit(123)
.throttlingRateLimit(123)
.build())
.description("description")
.routeSettings(routeSettings)
.stageVariables(stageVariables)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder
A builder for
CfnApiGatewayManagedOverrides.StageOverridesProperty |
static class |
CfnApiGatewayManagedOverrides.StageOverridesProperty.Jsii$Proxy
An implementation for
CfnApiGatewayManagedOverrides.StageOverridesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder |
builder() |
default Object |
getAccessLogSettings()
Settings for logging access in a stage.
|
default Object |
getAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment.
|
default Object |
getDefaultRouteSettings()
The default route settings for the stage.
|
default String |
getDescription()
The description for the API stage.
|
default Object |
getRouteSettings()
Route settings for the stage.
|
default Object |
getStageVariables()
A map that defines the stage variables for a `Stage` .
|
@Stability(value=Stable) @Nullable default Object getAccessLogSettings()
@Stability(value=Stable) @Nullable default Object getAutoDeploy()
The default value is true .
@Stability(value=Stable) @Nullable default Object getDefaultRouteSettings()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getRouteSettings()
@Stability(value=Stable) @Nullable default Object getStageVariables()
Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
@Stability(value=Stable) static CfnApiGatewayManagedOverrides.StageOverridesProperty.Builder builder()
Copyright © 2022. All rights reserved.