Interface CfnStageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-04-22T23:08:06.548Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStagePropsstatic final classAn implementation forCfnStageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStageProps.Builderbuilder()default ObjectSettings for logging access in this stage.default StringThis parameter is not currently supported.getApiId()The API identifier.default ObjectSpecifies whether updates to an API automatically trigger a new deployment.default StringThe identifier of a client certificate for aStage.default ObjectThe default route settings for the stage.default StringThe deployment identifier for the API stage.default StringThe description for the API stage.default ObjectRoute settings for the stage.The stage name.default ObjectA map that defines the stage variables for aStage.default ObjectgetTags()The collection of tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
The API identifier.- See Also:
-
getStageName
The stage name.Stage names can contain only alphanumeric characters, hyphens, and underscores, or be
$default. Maximum length is 128 characters.- See Also:
-
getAccessLogSettings
Settings for logging access in this stage.- See Also:
-
getAccessPolicyId
This parameter is not currently supported.- See Also:
-
getAutoDeploy
Specifies whether updates to an API automatically trigger a new deployment.The default value is
false.- See Also:
-
getClientCertificateId
The identifier of a client certificate for aStage.Supported only for WebSocket APIs.
- See Also:
-
getDefaultRouteSettings
The default route settings for the stage.- See Also:
-
getDeploymentId
The deployment identifier for the API stage.Can't be updated if
autoDeployis enabled.- 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:
-
getTags
The collection of tags.Each tag element is associated with a given resource.
- See Also:
-
builder
- Returns:
- a
CfnStageProps.BuilderofCfnStageProps
-