public static interface CfnApiGatewayManagedOverrides.StageOverridesProperty
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 java.lang.Object |
getAccessLogSettings()
Settings for logging access in a stage.
|
default java.lang.Object |
getAutoDeploy()
Specifies whether updates to an API automatically trigger a new deployment.
|
default java.lang.Object |
getDefaultRouteSettings()
The default route settings for the stage.
|
default java.lang.String |
getDescription()
The description for the API stage.
|
default java.lang.Object |
getRouteSettings()
Route settings for the stage.
|
default java.lang.Object |
getStageVariables()
A map that defines the stage variables for a `Stage` .
|
default java.lang.Object getAccessLogSettings()
default java.lang.Object getAutoDeploy()
The default value is true
.
default java.lang.Object getDefaultRouteSettings()
default java.lang.String getDescription()
default java.lang.Object getRouteSettings()
default java.lang.Object getStageVariables()
Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.