Modifier and Type | Method and Description |
---|---|
CfnStage.Builder |
accessLogSettings(CfnStage.AccessLogSettingsProperty accessLogSettings)
Settings for logging access in this stage.
|
CfnStage.Builder |
accessLogSettings(IResolvable accessLogSettings)
Settings for logging access in this stage.
|
CfnStage.Builder |
accessPolicyId(java.lang.String accessPolicyId)
This parameter is not currently supported.
|
CfnStage.Builder |
apiId(java.lang.String apiId)
The API identifier.
|
CfnStage.Builder |
autoDeploy(java.lang.Boolean autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
CfnStage.Builder |
autoDeploy(IResolvable autoDeploy)
Specifies whether updates to an API automatically trigger a new deployment.
|
CfnStage |
build() |
CfnStage.Builder |
clientCertificateId(java.lang.String clientCertificateId)
The identifier of a client certificate for a `Stage` .
|
static CfnStage.Builder |
create(Construct scope,
java.lang.String id) |
CfnStage.Builder |
defaultRouteSettings(CfnStage.RouteSettingsProperty defaultRouteSettings)
The default route settings for the stage.
|
CfnStage.Builder |
defaultRouteSettings(IResolvable defaultRouteSettings)
The default route settings for the stage.
|
CfnStage.Builder |
deploymentId(java.lang.String deploymentId)
The deployment identifier for the API stage.
|
CfnStage.Builder |
description(java.lang.String description)
The description for the API stage.
|
CfnStage.Builder |
routeSettings(java.lang.Object routeSettings)
Route settings for the stage.
|
CfnStage.Builder |
stageName(java.lang.String stageName)
The stage name.
|
CfnStage.Builder |
stageVariables(java.lang.Object stageVariables)
A map that defines the stage variables for a `Stage` .
|
CfnStage.Builder |
tags(java.lang.Object tags)
The collection of tags.
|
public static CfnStage.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnStage.AccessLogSettingsProperty.Builder
.public CfnStage.Builder apiId(java.lang.String apiId)
apiId
- The API identifier. This parameter is required.this
public CfnStage.Builder stageName(java.lang.String stageName)
Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default
. Maximum length is 128 characters.
stageName
- The stage name. This parameter is required.this
public CfnStage.Builder accessLogSettings(IResolvable accessLogSettings)
accessLogSettings
- Settings for logging access in this stage. This parameter is required.this
public CfnStage.Builder accessLogSettings(CfnStage.AccessLogSettingsProperty accessLogSettings)
accessLogSettings
- Settings for logging access in this stage. This parameter is required.this
public CfnStage.Builder accessPolicyId(java.lang.String accessPolicyId)
accessPolicyId
- This parameter is not currently supported. This parameter is required.this
public CfnStage.Builder autoDeploy(java.lang.Boolean autoDeploy)
The default value is false
.
autoDeploy
- Specifies whether updates to an API automatically trigger a new deployment. This parameter is required.this
public CfnStage.Builder autoDeploy(IResolvable autoDeploy)
The default value is false
.
autoDeploy
- Specifies whether updates to an API automatically trigger a new deployment. This parameter is required.this
public CfnStage.Builder clientCertificateId(java.lang.String clientCertificateId)
Supported only for WebSocket APIs.
clientCertificateId
- The identifier of a client certificate for a `Stage` . This parameter is required.this
public CfnStage.Builder defaultRouteSettings(IResolvable defaultRouteSettings)
defaultRouteSettings
- The default route settings for the stage. This parameter is required.this
public CfnStage.Builder defaultRouteSettings(CfnStage.RouteSettingsProperty defaultRouteSettings)
defaultRouteSettings
- The default route settings for the stage. This parameter is required.this
public CfnStage.Builder deploymentId(java.lang.String deploymentId)
Can't be updated if autoDeploy
is enabled.
deploymentId
- The deployment identifier for the API stage. This parameter is required.this
public CfnStage.Builder description(java.lang.String description)
description
- The description for the API stage. This parameter is required.this
public CfnStage.Builder routeSettings(java.lang.Object routeSettings)
routeSettings
- Route settings for the stage. This parameter is required.this
public CfnStage.Builder stageVariables(java.lang.Object stageVariables)
Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
stageVariables
- A map that defines the stage variables for a `Stage` . This parameter is required.this
public CfnStage.Builder tags(java.lang.Object tags)
Each tag element is associated with a given resource.
tags
- The collection of tags. This parameter is required.this
public CfnStage build()