@Stability(value=Stable) public static final class CfnStageProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStageProps>
CfnStageProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnStageProps.Builder apiId(String apiId)
CfnStageProps.getApiId()apiId - The API identifier. This parameter is required.this@Stability(value=Stable) public CfnStageProps.Builder stageName(String stageName)
CfnStageProps.getStageName()stageName - The stage name. This parameter is required.
Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default . Maximum length is 128 characters.this@Stability(value=Stable) public CfnStageProps.Builder accessLogSettings(CfnStage.AccessLogSettingsProperty accessLogSettings)
CfnStageProps.getAccessLogSettings()accessLogSettings - Settings for logging access in this stage.this@Stability(value=Stable) public CfnStageProps.Builder accessLogSettings(IResolvable accessLogSettings)
CfnStageProps.getAccessLogSettings()accessLogSettings - Settings for logging access in this stage.this@Stability(value=Stable) public CfnStageProps.Builder accessPolicyId(String accessPolicyId)
CfnStageProps.getAccessPolicyId()accessPolicyId - This parameter is not currently supported.this@Stability(value=Stable) public CfnStageProps.Builder autoDeploy(Boolean autoDeploy)
CfnStageProps.getAutoDeploy()autoDeploy - Specifies whether updates to an API automatically trigger a new deployment.
The default value is false .this@Stability(value=Stable) public CfnStageProps.Builder autoDeploy(IResolvable autoDeploy)
CfnStageProps.getAutoDeploy()autoDeploy - Specifies whether updates to an API automatically trigger a new deployment.
The default value is false .this@Stability(value=Stable) public CfnStageProps.Builder clientCertificateId(String clientCertificateId)
CfnStageProps.getClientCertificateId()clientCertificateId - The identifier of a client certificate for a `Stage` .
Supported only for WebSocket APIs.this@Stability(value=Stable) public CfnStageProps.Builder defaultRouteSettings(CfnStage.RouteSettingsProperty defaultRouteSettings)
CfnStageProps.getDefaultRouteSettings()defaultRouteSettings - The default route settings for the stage.this@Stability(value=Stable) public CfnStageProps.Builder defaultRouteSettings(IResolvable defaultRouteSettings)
CfnStageProps.getDefaultRouteSettings()defaultRouteSettings - The default route settings for the stage.this@Stability(value=Stable) public CfnStageProps.Builder deploymentId(String deploymentId)
CfnStageProps.getDeploymentId()deploymentId - The deployment identifier for the API stage.
Can't be updated if autoDeploy is enabled.this@Stability(value=Stable) public CfnStageProps.Builder description(String description)
CfnStageProps.getDescription()description - The description for the API stage.this@Stability(value=Stable) public CfnStageProps.Builder routeSettings(Object routeSettings)
CfnStageProps.getRouteSettings()routeSettings - Route settings for the stage.this@Stability(value=Stable) public CfnStageProps.Builder stageVariables(Object stageVariables)
CfnStageProps.getStageVariables()stageVariables - A map that defines the stage variables for a `Stage` .
Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.this@Stability(value=Stable) public CfnStageProps.Builder tags(Object tags)
CfnStageProps.getTags()tags - The collection of tags.
Each tag element is associated with a given resource.this@Stability(value=Stable) public CfnStageProps build()
build in interface software.amazon.jsii.Builder<CfnStageProps>CfnStagePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.