public static final class CfnDeployment.Builder
extends java.lang.Object
CfnDeployment
.Modifier and Type | Method and Description |
---|---|
CfnDeployment |
build() |
static CfnDeployment.Builder |
create(Construct scope,
java.lang.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(java.lang.String description)
A description of the purpose of the API Gateway deployment.
|
CfnDeployment.Builder |
restApiId(java.lang.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(java.lang.String stageName)
A name for the stage that API Gateway creates with this deployment.
|
public static CfnDeployment.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.CfnDeployment.AccessLogSettingProperty.Builder
.public CfnDeployment.Builder restApiId(java.lang.String restApiId)
restApiId
- The ID of the `RestApi` resource to deploy. This parameter is required.this
public CfnDeployment.Builder deploymentCanarySettings(IResolvable deploymentCanarySettings)
deploymentCanarySettings
- Specifies settings for the canary deployment. This parameter is required.this
public CfnDeployment.Builder deploymentCanarySettings(CfnDeployment.DeploymentCanarySettingsProperty deploymentCanarySettings)
deploymentCanarySettings
- Specifies settings for the canary deployment. This parameter is required.this
public CfnDeployment.Builder description(java.lang.String description)
description
- A description of the purpose of the API Gateway deployment. This parameter is required.this
public CfnDeployment.Builder stageDescription(IResolvable stageDescription)
stageDescription
- Configures the stage that API Gateway creates with this deployment. This parameter is required.this
public CfnDeployment.Builder stageDescription(CfnDeployment.StageDescriptionProperty stageDescription)
stageDescription
- Configures the stage that API Gateway creates with this deployment. This parameter is required.this
public CfnDeployment.Builder stageName(java.lang.String stageName)
Use only alphanumeric characters.
stageName
- A name for the stage that API Gateway creates with this deployment. This parameter is required.this
public CfnDeployment build()