@Generated(value="jsii-pacmak/0.19.0 (build 7c562bc)", date="2019-10-15T12:37:28.459Z") @Stability(value=Stable) public class LambdaDeploymentGroup extends software.amazon.awscdk.core.Resource implements ILambdaDeploymentGroup
software.amazon.jsii.JsiiObject.InitializationModeILambdaDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaDeploymentGroup(software.amazon.awscdk.core.Construct scope,
String id,
LambdaDeploymentGroupProps props) |
protected |
LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarm(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
Associates an additional alarm with this Deployment Group.
|
void |
addPostHook(software.amazon.awscdk.services.lambda.IFunction postHook)
Associate a function to run after deployment completes.
|
void |
addPreHook(software.amazon.awscdk.services.lambda.IFunction preHook)
Associate a function to run before deployment begins.
|
static ILambdaDeploymentGroup |
fromLambdaDeploymentGroupAttributes(software.amazon.awscdk.core.Construct scope,
String id,
LambdaDeploymentGroupAttributes attrs)
Import an Lambda Deployment Group defined either outside the CDK app, or in a different AWS region.
|
ILambdaApplication |
getApplication()
The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
ILambdaDeploymentConfig |
getDeploymentConfig()
The Deployment Configuration this Group uses.
|
String |
getDeploymentGroupArn()
The ARN of this Deployment Group.
|
String |
getDeploymentGroupName()
The physical name of the CodeDeploy Deployment Group.
|
software.amazon.awscdk.services.iam.IRole |
getRole() |
software.amazon.awscdk.services.iam.Grant |
grantPutLifecycleEventHookExecutionStatus(software.amazon.awscdk.services.iam.IGrantable grantee)
Grant a principal permission to codedeploy:PutLifecycleEventHookExecutionStatus on this deployment group resource.
|
generatePhysicalName, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStackgetNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet, setObjRefprotected LambdaDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public LambdaDeploymentGroup(software.amazon.awscdk.core.Construct scope,
String id,
LambdaDeploymentGroupProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) public static ILambdaDeploymentGroup fromLambdaDeploymentGroupAttributes(software.amazon.awscdk.core.Construct scope, String id, LambdaDeploymentGroupAttributes attrs)
scope - the parent Construct for this new Construct. This parameter is required.id - the logical ID of this new Construct. This parameter is required.attrs - the properties of the referenced Deployment Group. This parameter is required.@Stability(value=Stable) public void addAlarm(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
alarm - the alarm to associate with this Deployment Group. This parameter is required.@Stability(value=Stable) public void addPostHook(software.amazon.awscdk.services.lambda.IFunction postHook)
postHook - function to run after deployment completes. This parameter is required.@Stability(value=Stable) public void addPreHook(software.amazon.awscdk.services.lambda.IFunction preHook)
preHook - function to run before deployment beings. This parameter is required.@Stability(value=Stable) public software.amazon.awscdk.services.iam.Grant grantPutLifecycleEventHookExecutionStatus(software.amazon.awscdk.services.iam.IGrantable grantee)
grantee - to grant permission to. This parameter is required.@Stability(value=Stable) public ILambdaApplication getApplication()
getApplication in interface ILambdaDeploymentGroup@Stability(value=Stable) public ILambdaDeploymentConfig getDeploymentConfig()
getDeploymentConfig in interface ILambdaDeploymentGroup@Stability(value=Stable) public String getDeploymentGroupArn()
getDeploymentGroupArn in interface ILambdaDeploymentGroup@Stability(value=Stable) public String getDeploymentGroupName()
getDeploymentGroupName in interface ILambdaDeploymentGroup@Stability(value=Stable) public software.amazon.awscdk.services.iam.IRole getRole()
Copyright © 2019. All rights reserved.