@Generated(value="jsii-pacmak/0.7.14 (build 91853ce)", date="2019-02-07T11:17:38.837Z") public class LambdaDeploymentGroup extends software.amazon.awscdk.Construct implements ILambdaDeploymentGroup
software.amazon.jsii.JsiiObject.InitializationModeILambdaDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
LambdaDeploymentGroupProps props) |
protected |
LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarm(software.amazon.awscdk.services.cloudwatch.Alarm alarm)
Associates an additional alarm with this Deployment Group.
|
LambdaDeploymentGroupImportProps |
export()
Export this Deployment Group for use in another stack or application.
|
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.Role |
getRole() |
void |
grantPutLifecycleEventHookExecutionStatus()
Grant a principal permission to codedeploy:PutLifecycleEventHookExecutionStatus
on this deployment group resource.
|
void |
grantPutLifecycleEventHookExecutionStatus(software.amazon.awscdk.services.iam.IPrincipal principal)
Grant a principal permission to codedeploy:PutLifecycleEventHookExecutionStatus
on this deployment group resource.
|
static ILambdaDeploymentGroup |
import_(software.amazon.awscdk.Construct scope,
String id,
LambdaDeploymentGroupImportProps props)
Import an Lambda Deployment Group defined either outside the CDK,
or in a different CDK Stack and exported using the
export() method. |
void |
onPostHook(software.amazon.awscdk.services.lambda.IFunction postHook)
Associate a function to run after deployment completes.
|
void |
onPreHook(software.amazon.awscdk.services.lambda.IFunction preHook)
Associate a function to run before deployment begins.
|
apply, getDependencyRoots, getNode, isConstruct, prepare, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode mode)
public LambdaDeploymentGroup(software.amazon.awscdk.Construct scope,
String id,
LambdaDeploymentGroupProps props)
public static ILambdaDeploymentGroup import_(software.amazon.awscdk.Construct scope, String id, LambdaDeploymentGroupImportProps props)
export() method.scope - the parent Construct for this new Constructid - the logical ID of this new Constructprops - the properties of the referenced Deployment Grouppublic void addAlarm(software.amazon.awscdk.services.cloudwatch.Alarm alarm)
alarm - the alarm to associate with this Deployment Grouppublic LambdaDeploymentGroupImportProps export()
export in interface ILambdaDeploymentGrouppublic void grantPutLifecycleEventHookExecutionStatus(@Nullable software.amazon.awscdk.services.iam.IPrincipal principal)
principal - to grant permission topublic void grantPutLifecycleEventHookExecutionStatus()
public void onPostHook(software.amazon.awscdk.services.lambda.IFunction postHook)
an - error if a post-hook function is already configuredpublic void onPreHook(software.amazon.awscdk.services.lambda.IFunction preHook)
preHook - function to run before deployment beingsan - error if a pre-hook function is already configuredpublic ILambdaApplication getApplication()
getApplication in interface ILambdaDeploymentGrouppublic String getDeploymentGroupArn()
getDeploymentGroupArn in interface ILambdaDeploymentGrouppublic String getDeploymentGroupName()
getDeploymentGroupName in interface ILambdaDeploymentGrouppublic software.amazon.awscdk.services.iam.Role getRole()
Copyright © 2019. All rights reserved.