interface ActionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.ActionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#ActionProps |
![]() | software.amazon.awscdk.services.appconfig.ActionProps |
![]() | aws_cdk.aws_appconfig.ActionProps |
![]() | aws-cdk-lib » aws_appconfig » ActionProps |
Properties for the Action construct.
Example
declare const fn: lambda.Function;
new appconfig.Extension(this, 'MyExtension', {
actions: [
new appconfig.Action({
actionPoints: [appconfig.ActionPoint.ON_DEPLOYMENT_START],
eventDestination: new appconfig.LambdaDestination(fn),
}),
],
});
Properties
Name | Type | Description |
---|---|---|
action | Action [] | The action points that will trigger the extension action. |
event | IEvent | The event destination for the action. |
description? | string | The description for the action. |
execution | IRole | The execution role for the action. |
invoke | boolean | The flag that specifies whether or not to create the execution role. |
name? | string | The name for the action. |
actionPoints
Type:
Action
[]
The action points that will trigger the extension action.
eventDestination
Type:
IEvent
The event destination for the action.
description?
Type:
string
(optional, default: No description.)
The description for the action.
executionRole?
Type:
IRole
(optional, default: A role is generated.)
The execution role for the action.
invokeWithoutExecutionRole?
Type:
boolean
(optional, default: false)
The flag that specifies whether or not to create the execution role.
If set to true, then the role will not be auto-generated under the assumption there is already the corresponding resource-based policy attached to the event destination. If false, the execution role will be generated if not provided.
name?
Type:
string
(optional, default: A name is generated.)
The name for the action.