Interface CfnApiGatewayManagedOverrides.StageOverridesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiGatewayManagedOverrides.StageOverridesProperty.Jsii$Proxy
- Enclosing class:
- CfnApiGatewayManagedOverrides
@Stability(Stable)
public static interface CfnApiGatewayManagedOverrides.StageOverridesProperty
extends software.amazon.jsii.JsiiSerializable
The
StageOverrides
property overrides the stage configuration for an API Gateway-managed stage.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApiGatewayManagedOverrides.StageOverridesProperty
static final class
An implementation forCfnApiGatewayManagedOverrides.StageOverridesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Settings for logging access in a stage.default Object
Specifies whether updates to an API automatically trigger a new deployment.default Object
The default route settings for the stage.default String
The description for the API stage.default Object
Route settings for the stage.default Object
A map that defines the stage variables for aStage
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessLogSettings
Settings for logging access in a stage. -
getAutoDeploy
Specifies whether updates to an API automatically trigger a new deployment.The default value is
true
. -
getDefaultRouteSettings
The default route settings for the stage. -
getDescription
The description for the API stage. -
getRouteSettings
Route settings for the stage. -
getStageVariables
A map that defines the stage variables for aStage
.Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
-
builder
-