@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:56.579Z") @Stability(value=Experimental) public class LambdaDeploymentGroup extends Resource implements ILambdaDeploymentGroup
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaDeploymentGroup.Builder
(experimental) A fluent builder for
LambdaDeploymentGroup. |
software.amazon.jsii.JsiiObject.InitializationModeILambdaDeploymentGroup.Jsii$Default, ILambdaDeploymentGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
LambdaDeploymentGroup(software.constructs.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(IAlarm alarm)
(experimental) Associates an additional alarm with this Deployment Group.
|
void |
addPostHook(IFunction postHook)
(experimental) Associate a function to run after deployment completes.
|
void |
addPreHook(IFunction preHook)
(experimental) Associate a function to run before deployment begins.
|
static ILambdaDeploymentGroup |
fromLambdaDeploymentGroupAttributes(software.constructs.Construct scope,
String id,
LambdaDeploymentGroupAttributes attrs)
(experimental) Import an Lambda Deployment Group defined either outside the CDK app, or in a different AWS region.
|
ILambdaApplication |
getApplication()
(experimental) The reference to the CodeDeploy Lambda Application that this Deployment Group belongs to.
|
ILambdaDeploymentConfig |
getDeploymentConfig()
(experimental) The Deployment Configuration this Group uses.
|
String |
getDeploymentGroupArn()
(experimental) The ARN of this Deployment Group.
|
String |
getDeploymentGroupName()
(experimental) The physical name of the CodeDeploy Deployment Group.
|
IRole |
getRole() |
Grant |
grantPutLifecycleEventHookExecutionStatus(IGrantable grantee)
(experimental) Grant a principal permission to codedeploy:PutLifecycleEventHookExecutionStatus on this deployment group resource.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LambdaDeploymentGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaDeploymentGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public LambdaDeploymentGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
LambdaDeploymentGroupProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static ILambdaDeploymentGroup fromLambdaDeploymentGroupAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull 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=Experimental)
public void addAlarm(@NotNull
IAlarm alarm)
alarm - the alarm to associate with this Deployment Group. This parameter is required.@Stability(value=Experimental)
public void addPostHook(@NotNull
IFunction postHook)
postHook - function to run after deployment completes. This parameter is required.@Stability(value=Experimental)
public void addPreHook(@NotNull
IFunction preHook)
preHook - function to run before deployment beings. This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantPutLifecycleEventHookExecutionStatus(@NotNull IGrantable grantee)
grantee - to grant permission to. This parameter is required.@Stability(value=Experimental) @NotNull public ILambdaApplication getApplication()
getApplication in interface ILambdaDeploymentGroup@Stability(value=Experimental) @NotNull public ILambdaDeploymentConfig getDeploymentConfig()
getDeploymentConfig in interface ILambdaDeploymentGroup@Stability(value=Experimental) @NotNull public String getDeploymentGroupArn()
getDeploymentGroupArn in interface ILambdaDeploymentGroup@Stability(value=Experimental) @NotNull public String getDeploymentGroupName()
getDeploymentGroupName in interface ILambdaDeploymentGroup@Stability(value=Experimental) @NotNull public IRole getRole()
Copyright © 2021. All rights reserved.