Interface CfnStageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.233Z")
@Stability(Stable)
public interface CfnStageProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStage
.
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; Object tags; CfnStageProps cfnStageProps = CfnStageProps.builder() .apiId("apiId") .stageName("stageName") // the properties below are optional .accessLogSettings(AccessLogSettingsProperty.builder() .destinationArn("destinationArn") .format("format") .build()) .accessPolicyId("accessPolicyId") .autoDeploy(false) .clientCertificateId("clientCertificateId") .defaultRouteSettings(RouteSettingsProperty.builder() .dataTraceEnabled(false) .detailedMetricsEnabled(false) .loggingLevel("loggingLevel") .throttlingBurstLimit(123) .throttlingRateLimit(123) .build()) .deploymentId("deploymentId") .description("description") .routeSettings(routeSettings) .stageVariables(stageVariables) .tags(tags) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStageProps
static final class
An implementation forCfnStageProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStageProps.Builder
builder()
default Object
Settings for logging access in this stage.default String
This parameter is not currently supported.getApiId()
The API identifier.default Object
Specifies whether updates to an API automatically trigger a new deployment.default String
The identifier of a client certificate for aStage
.default Object
The default route settings for the stage.default String
The deployment identifier for the API stage.default String
The description for the API stage.default Object
Route settings for the stage.The stage name.default Object
A map that defines the stage variables for aStage
.default Object
getTags()
The collection of tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The API identifier. -
getStageName
The stage name.Stage names can contain only alphanumeric characters, hyphens, and underscores, or be
$default
. Maximum length is 128 characters. -
getAccessLogSettings
Settings for logging access in this stage. -
getAccessPolicyId
This parameter is not currently supported. -
getAutoDeploy
Specifies whether updates to an API automatically trigger a new deployment.The default value is
false
. -
getClientCertificateId
The identifier of a client certificate for aStage
.Supported only for WebSocket APIs.
-
getDefaultRouteSettings
The default route settings for the stage. -
getDeploymentId
The deployment identifier for the API stage.Can't be updated if
autoDeploy
is enabled. -
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-._~:/?#&=,]+.
-
getTags
The collection of tags.Each tag element is associated with a given resource.
-
builder
- Returns:
- a
CfnStageProps.Builder
ofCfnStageProps
-