@Stability(value=Experimental) @Internal public static final class LambdaDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaDeploymentGroupProps
LambdaDeploymentGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeLambdaDeploymentGroupProps.Builder, LambdaDeploymentGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Alias alias,
List<? extends IAlarm> alarms,
ILambdaApplication application,
AutoRollbackConfig autoRollback,
ILambdaDeploymentConfig deploymentConfig,
String deploymentGroupName,
Boolean ignorePollAlarmsFailure,
IFunction postHook,
IFunction preHook,
IRole role)
Constructor that initializes the object based on literal property values passed by the
LambdaDeploymentGroupProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<IAlarm> |
getAlarms()
(experimental) The CloudWatch alarms associated with this Deployment Group.
|
Alias |
getAlias()
(experimental) Lambda Alias to shift traffic.
|
ILambdaApplication |
getApplication()
(experimental) The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
AutoRollbackConfig |
getAutoRollback()
(experimental) The auto-rollback configuration for this Deployment Group.
|
ILambdaDeploymentConfig |
getDeploymentConfig()
(experimental) The Deployment Configuration this Deployment Group uses.
|
String |
getDeploymentGroupName()
(experimental) The physical, human-readable name of the CodeDeploy Deployment Group.
|
Boolean |
getIgnorePollAlarmsFailure()
(experimental) Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
IFunction |
getPostHook()
(experimental) The Lambda function to run after traffic routing starts.
|
IFunction |
getPreHook()
(experimental) The Lambda function to run before traffic routing starts.
|
IRole |
getRole()
(experimental) The service Role of this Deployment Group.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Alias alias, List<? extends IAlarm> alarms, ILambdaApplication application, AutoRollbackConfig autoRollback, ILambdaDeploymentConfig deploymentConfig, String deploymentGroupName, Boolean ignorePollAlarmsFailure, IFunction postHook, IFunction preHook, IRole role)
LambdaDeploymentGroupProps.Builder.public final Alias getAlias()
LambdaDeploymentGroupProps[disable-awslint:ref-via-interface] since we need to modify the alias CFN resource update policy
getAlias in interface LambdaDeploymentGroupPropspublic final List<IAlarm> getAlarms()
LambdaDeploymentGroupPropsCodeDeploy 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: []
getAlarms in interface LambdaDeploymentGroupPropshttps://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.htmlpublic final ILambdaApplication getApplication()
LambdaDeploymentGroupPropsDefault: - One will be created for you.
getApplication in interface LambdaDeploymentGroupPropspublic final AutoRollbackConfig getAutoRollback()
LambdaDeploymentGroupPropsDefault: - default AutoRollbackConfig.
getAutoRollback in interface LambdaDeploymentGroupPropspublic final ILambdaDeploymentConfig getDeploymentConfig()
LambdaDeploymentGroupPropsDefault: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES
getDeploymentConfig in interface LambdaDeploymentGroupPropspublic final String getDeploymentGroupName()
LambdaDeploymentGroupPropsDefault: - An auto-generated name will be used.
getDeploymentGroupName in interface LambdaDeploymentGroupPropspublic final Boolean getIgnorePollAlarmsFailure()
LambdaDeploymentGroupPropsDefault: false
getIgnorePollAlarmsFailure in interface LambdaDeploymentGroupPropspublic final IFunction getPostHook()
LambdaDeploymentGroupPropsDefault: - None.
getPostHook in interface LambdaDeploymentGroupPropspublic final IFunction getPreHook()
LambdaDeploymentGroupPropsDefault: - None.
getPreHook in interface LambdaDeploymentGroupPropspublic final IRole getRole()
LambdaDeploymentGroupPropsDefault: - A new Role will be created.
getRole in interface LambdaDeploymentGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.