public static final class LambdaDeploymentGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LambdaDeploymentGroupProps
LambdaDeploymentGroupProps
LambdaDeploymentGroupProps.Builder, LambdaDeploymentGroupProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.List<IAlarm> |
getAlarms()
The CloudWatch alarms associated with this Deployment Group.
|
Alias |
getAlias()
Lambda Alias to shift traffic.
|
ILambdaApplication |
getApplication()
The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
AutoRollbackConfig |
getAutoRollback()
The auto-rollback configuration for this Deployment Group.
|
ILambdaDeploymentConfig |
getDeploymentConfig()
The Deployment Configuration this Deployment Group uses.
|
java.lang.String |
getDeploymentGroupName()
The physical, human-readable name of the CodeDeploy Deployment Group.
|
java.lang.Boolean |
getIgnorePollAlarmsFailure()
Whether to continue a deployment even if fetching the alarm status from CloudWatch failed.
|
IFunction |
getPostHook()
The Lambda function to run after traffic routing starts.
|
IFunction |
getPreHook()
The Lambda function to run before traffic routing starts.
|
IRole |
getRole()
The service Role of this Deployment Group.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final Alias getAlias()
LambdaDeploymentGroupProps
[disable-awslint:ref-via-interface] since we need to modify the alias CFN resource update policy
getAlias
in interface LambdaDeploymentGroupProps
public final java.util.List<IAlarm> getAlarms()
LambdaDeploymentGroupProps
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: []
getAlarms
in interface LambdaDeploymentGroupProps
public final ILambdaApplication getApplication()
LambdaDeploymentGroupProps
Default: - One will be created for you.
getApplication
in interface LambdaDeploymentGroupProps
public final AutoRollbackConfig getAutoRollback()
LambdaDeploymentGroupProps
Default: - default AutoRollbackConfig.
getAutoRollback
in interface LambdaDeploymentGroupProps
public final ILambdaDeploymentConfig getDeploymentConfig()
LambdaDeploymentGroupProps
Default: LambdaDeploymentConfig.CANARY_10PERCENT_5MINUTES
getDeploymentConfig
in interface LambdaDeploymentGroupProps
public final java.lang.String getDeploymentGroupName()
LambdaDeploymentGroupProps
Default: - An auto-generated name will be used.
getDeploymentGroupName
in interface LambdaDeploymentGroupProps
public final java.lang.Boolean getIgnorePollAlarmsFailure()
LambdaDeploymentGroupProps
Default: false
getIgnorePollAlarmsFailure
in interface LambdaDeploymentGroupProps
public final IFunction getPostHook()
LambdaDeploymentGroupProps
Default: - None.
getPostHook
in interface LambdaDeploymentGroupProps
public final IFunction getPreHook()
LambdaDeploymentGroupProps
Default: - None.
getPreHook
in interface LambdaDeploymentGroupProps
public final IRole getRole()
LambdaDeploymentGroupProps
Default: - A new Role will be created.
getRole
in interface LambdaDeploymentGroupProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()