Interface HttpStageOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,StageOptions
- All Known Subinterfaces:
HttpStageProps
- All Known Implementing Classes:
HttpStageOptions.Jsii$Proxy
,HttpStageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:10.758Z")
@Stability(Stable)
public interface HttpStageOptions
extends software.amazon.jsii.JsiiSerializable, StageOptions
The options to create a new Stage for an HTTP API.
Example:
HttpApi api; DomainName dn; api.addStage("beta", HttpStageOptions.builder() .stageName("beta") .autoDeploy(true) // https://${dn.domainName}/bar goes to the beta stage .domainMapping(DomainMappingOptions.builder() .domainName(dn) .mappingKey("bar") .build()) .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forHttpStageOptions
static final class
An implementation forHttpStageOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpStageOptions.Builder
builder()
default String
The name of the stage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.apigatewayv2.StageOptions
getAutoDeploy, getDescription, getDomainMapping, getThrottle
-
Method Details
-
getStageName
The name of the stage.See
StageName
class for more details.Default: '$default' the default stage of the API. This stage will have the URL at the root of the API endpoint.
-
builder
- Returns:
- a
HttpStageOptions.Builder
ofHttpStageOptions
-