@Stability(value=Stable) public static final class LambdaDeploymentGroupProps.Builder extends Object
LambdaDeploymentGroupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public LambdaDeploymentGroupProps.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 LambdaDeploymentGroupProps.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@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder application(ILambdaApplication application)
application - The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder autoRollback(AutoRollbackConfig autoRollback)
autoRollback - The auto-rollback configuration for this Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder deploymentConfig(ILambdaDeploymentConfig deploymentConfig)
deploymentConfig - The Deployment Configuration this Deployment Group uses.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder deploymentGroupName(String deploymentGroupName)
deploymentGroupName - The physical, human-readable name of the CodeDeploy Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
ignorePollAlarmsFailure - Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder postHook(IFunction postHook)
postHook - The Lambda function to run after traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder preHook(IFunction preHook)
preHook - The Lambda function to run before traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder role(IRole role)
role - The service Role of this Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps build()
LambdaDeploymentGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.