@Stability(value=Stable) public static final class CfnDeployment.Builder extends Object implements software.amazon.jsii.Builder<CfnDeployment>
CfnDeployment.| Modifier and Type | Method and Description |
|---|---|
CfnDeployment |
build() |
static CfnDeployment.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDeployment.Builder |
deploymentCanarySettings(CfnDeployment.DeploymentCanarySettingsProperty deploymentCanarySettings)
Specifies settings for the canary deployment.
|
CfnDeployment.Builder |
deploymentCanarySettings(IResolvable deploymentCanarySettings)
Specifies settings for the canary deployment.
|
CfnDeployment.Builder |
description(String description)
A description of the purpose of the API Gateway deployment.
|
CfnDeployment.Builder |
restApiId(String restApiId)
The ID of the `RestApi` resource to deploy.
|
CfnDeployment.Builder |
stageDescription(CfnDeployment.StageDescriptionProperty stageDescription)
Configures the stage that API Gateway creates with this deployment.
|
CfnDeployment.Builder |
stageDescription(IResolvable stageDescription)
Configures the stage that API Gateway creates with this deployment.
|
CfnDeployment.Builder |
stageName(String stageName)
A name for the stage that API Gateway creates with this deployment.
|
@Stability(value=Stable) public static CfnDeployment.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDeployment.AccessLogSettingProperty.Builder.@Stability(value=Stable) public CfnDeployment.Builder restApiId(String restApiId)
restApiId - The ID of the `RestApi` resource to deploy. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder deploymentCanarySettings(CfnDeployment.DeploymentCanarySettingsProperty deploymentCanarySettings)
deploymentCanarySettings - Specifies settings for the canary deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder deploymentCanarySettings(IResolvable deploymentCanarySettings)
deploymentCanarySettings - Specifies settings for the canary deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder description(String description)
description - A description of the purpose of the API Gateway deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder stageDescription(CfnDeployment.StageDescriptionProperty stageDescription)
stageDescription - Configures the stage that API Gateway creates with this deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder stageDescription(IResolvable stageDescription)
stageDescription - Configures the stage that API Gateway creates with this deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment.Builder stageName(String stageName)
Use only alphanumeric characters.
stageName - A name for the stage that API Gateway creates with this deployment. This parameter is required.this@Stability(value=Stable) public CfnDeployment build()
build in interface software.amazon.jsii.Builder<CfnDeployment>Copyright © 2022. All rights reserved.