@Stability(value=Stable) public static final class LambdaDeploymentGroupProps.Builder extends Object
LambdaDeploymentGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LambdaDeploymentGroupProps.Builder |
alarms(List<software.amazon.awscdk.services.cloudwatch.IAlarm> alarms)
Sets the value of Alarms
|
LambdaDeploymentGroupProps.Builder |
alias(software.amazon.awscdk.services.lambda.Alias alias)
Sets the value of Alias
|
LambdaDeploymentGroupProps.Builder |
application(ILambdaApplication application)
Sets the value of Application
|
LambdaDeploymentGroupProps.Builder |
autoRollback(AutoRollbackConfig autoRollback)
Sets the value of AutoRollback
|
LambdaDeploymentGroupProps |
build()
Builds the configured instance.
|
LambdaDeploymentGroupProps.Builder |
deploymentConfig(ILambdaDeploymentConfig deploymentConfig)
Sets the value of DeploymentConfig
|
LambdaDeploymentGroupProps.Builder |
deploymentGroupName(String deploymentGroupName)
Sets the value of DeploymentGroupName
|
LambdaDeploymentGroupProps.Builder |
ignorePollAlarmsFailure(Boolean ignorePollAlarmsFailure)
Sets the value of IgnorePollAlarmsFailure
|
LambdaDeploymentGroupProps.Builder |
postHook(software.amazon.awscdk.services.lambda.IFunction postHook)
Sets the value of PostHook
|
LambdaDeploymentGroupProps.Builder |
preHook(software.amazon.awscdk.services.lambda.IFunction preHook)
Sets the value of PreHook
|
LambdaDeploymentGroupProps.Builder |
role(software.amazon.awscdk.services.iam.IRole role)
Sets the value of Role
|
@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder alias(software.amazon.awscdk.services.lambda.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<software.amazon.awscdk.services.cloudwatch.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(software.amazon.awscdk.services.lambda.IFunction postHook)
postHook - The Lambda function to run after traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder preHook(software.amazon.awscdk.services.lambda.IFunction preHook)
preHook - The Lambda function to run before traffic routing starts.this@Stability(value=Stable) public LambdaDeploymentGroupProps.Builder role(software.amazon.awscdk.services.iam.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.