@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)
LambdaDeploymentGroupProps.getAlias()alias - Lambda Alias to shift traffic. Updating the version of the alias will trigger a CodeDeploy deployment. This parameter is required.
[disable-awslint:ref-via-interface] since we need to modify the alias CFN resource update policythis@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder alarms(List<IAlarm> alarms)
LambdaDeploymentGroupProps.getAlarms()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.
Alarms can also be added after the Deployment Group is created using the {@link #addAlarm} method.
this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder application(ILambdaApplication application)
LambdaDeploymentGroupProps.getApplication()application - The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder autoRollback(AutoRollbackConfig autoRollback)
LambdaDeploymentGroupProps.getAutoRollback()autoRollback - The auto-rollback configuration for this Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder deploymentConfig(ILambdaDeploymentConfig deploymentConfig)
LambdaDeploymentGroupProps.getDeploymentConfig()deploymentConfig - The Deployment Configuration this Deployment Group uses.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder deploymentGroupName(String deploymentGroupName)
LambdaDeploymentGroupProps.getDeploymentGroupName()deploymentGroupName - The physical, human-readable name of the CodeDeploy Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
LambdaDeploymentGroupProps.getIgnorePollAlarmsFailure()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)
LambdaDeploymentGroupProps.getPostHook()postHook - The Lambda function to run after traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder preHook(IFunction preHook)
LambdaDeploymentGroupProps.getPreHook()preHook - The Lambda function to run before traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder role(IRole role)
LambdaDeploymentGroupProps.getRole()role - The service Role of this Deployment Group.this@Stability(value=Stable) public LambdaDeploymentGroupProps build()
LambdaDeploymentGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.