@Generated(value="jsii-pacmak/0.11.3 (build 464b8c6)", date="2019-06-19T15:19:43.959Z") @Stability(value=Experimental) public class LambdaDeploymentGroup extends software.amazon.awscdk.Resource implements ILambdaDeploymentGroup
software.amazon.jsii.JsiiObject.InitializationModeILambdaDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
LambdaDeploymentGroupProps props)
EXPERIMENTAL
|
protected |
LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| 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.Construct scope,
String id,
LambdaDeploymentGroupAttributes attrs)
Import an Lambda Deployment Group defined either outside the CDK, or in a different CDK Stack and exported using the
#export method. |
ILambdaApplication |
getApplication()
The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
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()
EXPERIMENTAL
|
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.
|
getNode, isConstruct, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Experimental)
public LambdaDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
LambdaDeploymentGroupProps props)
@Stability(value=Experimental) public static ILambdaDeploymentGroup fromLambdaDeploymentGroupAttributes(software.amazon.awscdk.Construct scope, String id, LambdaDeploymentGroupAttributes attrs)
#export method.
EXPERIMENTALscope - the parent Construct for this new Construct.id - the logical ID of this new Construct.attrs - the properties of the referenced Deployment Group.@Stability(value=Experimental) public void addAlarm(software.amazon.awscdk.services.cloudwatch.IAlarm alarm)
alarm - the alarm to associate with this Deployment Group.@Stability(value=Experimental) public void addPostHook(software.amazon.awscdk.services.lambda.IFunction postHook)
postHook - function to run after deployment completes.@Stability(value=Experimental) public void addPreHook(software.amazon.awscdk.services.lambda.IFunction preHook)
preHook - function to run before deployment beings.@Stability(value=Experimental) public software.amazon.awscdk.services.iam.Grant grantPutLifecycleEventHookExecutionStatus(software.amazon.awscdk.services.iam.IGrantable grantee)
grantee - to grant permission to.@Stability(value=Experimental) public ILambdaApplication getApplication()
getApplication in interface ILambdaDeploymentGroup@Stability(value=Experimental) public String getDeploymentGroupArn()
getDeploymentGroupArn in interface ILambdaDeploymentGroup@Stability(value=Experimental) public String getDeploymentGroupName()
getDeploymentGroupName in interface ILambdaDeploymentGroup@Stability(value=Experimental) public software.amazon.awscdk.services.iam.IRole getRole()
Copyright © 2019. All rights reserved.