class Action
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.Action |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#Action |
![]() | software.amazon.awscdk.services.appconfig.Action |
![]() | aws_cdk.aws_appconfig.Action |
![]() | aws-cdk-lib » aws_appconfig » Action |
Defines an action for an extension.
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),
}),
],
});
Initializer
new Action(props: ActionProps)
Parameters
- props
Action
Props
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 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)
The description for the action.
executionRole?
Type:
IRole
(optional)
The execution role for the action.
invokeWithoutExecutionRole?
Type:
boolean
(optional)
The flag that specifies whether to create the execution role.
name?
Type:
string
(optional)
The name for the action.