@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.589Z") @Stability(value=Experimental) public interface LambdaDeploymentGroupProps extends software.amazon.jsii.JsiiSerializable
LambdaDeploymentGroup.| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaDeploymentGroupProps.Builder
A builder for
LambdaDeploymentGroupProps |
static class |
LambdaDeploymentGroupProps.Jsii$Proxy
An implementation for
LambdaDeploymentGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaDeploymentGroupProps.Builder |
builder() |
default List<IAlarm> |
getAlarms()
(experimental) The CloudWatch alarms associated with this Deployment Group.
|
Alias |
getAlias()
(experimental) Lambda Alias to shift traffic.
|
default ILambdaApplication |
getApplication()
(experimental) The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
default AutoRollbackConfig |
getAutoRollback()
(experimental) The auto-rollback configuration for this Deployment Group.
|
default ILambdaDeploymentConfig |
getDeploymentConfig()
(experimental) The Deployment Configuration this Deployment Group uses.
|
default String |
getDeploymentGroupName()
(experimental) The physical, human-readable name of the CodeDeploy Deployment Group.
|
default Boolean |
getIgnorePollAlarmsFailure()
(experimental) Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
default IFunction |
getPostHook()
(experimental) The Lambda function to run after traffic routing starts.
|
default IFunction |
getPreHook()
(experimental) The Lambda function to run before traffic routing starts.
|
default IRole |
getRole()
(experimental) The service Role of this Deployment Group.
|
@Stability(value=Experimental) @NotNull Alias getAlias()
[disable-awslint:ref-via-interface] since we need to modify the alias CFN resource update policy
@Stability(value=Experimental) @Nullable default List<IAlarm> getAlarms()
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.
Default: []
https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.html@Stability(value=Experimental) @Nullable default ILambdaApplication getApplication()
Default: - One will be created for you.
@Stability(value=Experimental) @Nullable default AutoRollbackConfig getAutoRollback()
Default: - default AutoRollbackConfig.
@Stability(value=Experimental) @Nullable default ILambdaDeploymentConfig getDeploymentConfig()
Default: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES
@Stability(value=Experimental) @Nullable default String getDeploymentGroupName()
Default: - An auto-generated name will be used.
@Stability(value=Experimental) @Nullable default Boolean getIgnorePollAlarmsFailure()
Default: false
@Stability(value=Experimental) @Nullable default IFunction getPostHook()
Default: - None.
@Stability(value=Experimental) @Nullable default IFunction getPreHook()
Default: - None.
@Stability(value=Experimental) @Nullable default IRole getRole()
Default: - A new Role will be created.
@Stability(value=Experimental) static LambdaDeploymentGroupProps.Builder builder()
LambdaDeploymentGroupProps.Builder of LambdaDeploymentGroupPropsCopyright © 2021. All rights reserved.