@Stability(value=Stable) public static final class LambdaDeploymentGroup.Builder extends Object
LambdaDeploymentGroup.| Modifier and Type | Method and Description |
|---|---|
LambdaDeploymentGroup.Builder |
alarms(List<IAlarm> alarms) |
LambdaDeploymentGroup.Builder |
alias(Alias alias) |
LambdaDeploymentGroup.Builder |
application(ILambdaApplication application) |
LambdaDeploymentGroup.Builder |
autoRollback(AutoRollbackConfig autoRollback) |
LambdaDeploymentGroup |
build() |
static LambdaDeploymentGroup.Builder |
create(Construct scope,
String id) |
LambdaDeploymentGroup.Builder |
deploymentConfig(ILambdaDeploymentConfig deploymentConfig) |
LambdaDeploymentGroup.Builder |
deploymentGroupName(String deploymentGroupName) |
LambdaDeploymentGroup.Builder |
ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure) |
LambdaDeploymentGroup.Builder |
postHook(IFunction postHook) |
LambdaDeploymentGroup.Builder |
preHook(IFunction preHook) |
LambdaDeploymentGroup.Builder |
role(IRole role) |
@Stability(value=Stable) public static LambdaDeploymentGroup.Builder create(Construct scope, String id)
scope - This parameter is required.id - This parameter is required.LambdaDeploymentGroup.Builder.@Stability(value=Stable) public LambdaDeploymentGroup.Builder alias(Alias alias)
alias - Lambda Alias to shift traffic. Updating the version of the alias will trigger a CodeDeploy deployment. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder alarms(List<IAlarm> alarms)
alarms - The CloudWatch alarms associated with this Deployment Group. CodeDeploy will stop (and optionally roll back) a deployment if during it any of the alarms trigger. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder application(ILambdaApplication application)
application - The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder autoRollback(AutoRollbackConfig autoRollback)
autoRollback - The auto-rollback configuration for this Deployment Group. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder deploymentConfig(ILambdaDeploymentConfig deploymentConfig)
deploymentConfig - The Deployment Configuration this Deployment Group uses. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder deploymentGroupName(String deploymentGroupName)
deploymentGroupName - The physical, human-readable name of the CodeDeploy Deployment Group. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
ignorePollAlarmsFailure - Whether to continue a deployment even if fetching the alarm status from CloudWatch failed. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder postHook(IFunction postHook)
postHook - The Lambda function to run after traffic routing starts. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder preHook(IFunction preHook)
preHook - The Lambda function to run before traffic routing starts. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup.Builder role(IRole role)
role - The service Role of this Deployment Group. This parameter is required.this@Stability(value=Stable) public LambdaDeploymentGroup build()
Copyright © 2019. All rights reserved.