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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiGatewayManagedOverrides.StageOverridesPropertystatic final classAn implementation forCfnApiGatewayManagedOverrides.StageOverridesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSettings for logging access in a stage.default ObjectSpecifies whether updates to an API automatically trigger a new deployment.default ObjectThe default route settings for the stage.default StringThe description for the API stage.default ObjectRoute settings for the stage.default ObjectA 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.- See Also:
-
getAutoDeploy
Specifies whether updates to an API automatically trigger a new deployment.The default value is
true.- See Also:
-
getDefaultRouteSettings
The default route settings for the stage.- See Also:
-
getDescription
The description for the API stage.- See Also:
-
getRouteSettings
Route settings for the stage.- See Also:
-
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-._~:/?#&=,]+.
- See Also:
-
builder
-