class Action
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.Alpha.Action |
Go | github.com/aws/aws-cdk-go/awscdkappconfigalpha/v2#Action |
Java | software.amazon.awscdk.services.appconfig.alpha.Action |
Python | aws_cdk.aws_appconfig_alpha.Action |
TypeScript (source) | @aws-cdk/aws-appconfig-alpha » Action |
⚠️ Deprecated: undefined
Defines an action for an extension.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appconfig_alpha from '@aws-cdk/aws-appconfig-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const eventDestination: appconfig_alpha.IEventDestination;
declare const role: iam.Role;
const action = new appconfig_alpha.Action({
actionPoints: [appconfig_alpha.ActionPoint.PRE_CREATE_HOSTED_CONFIGURATION_VERSION],
eventDestination: eventDestination,
// the properties below are optional
description: 'description',
executionRole: role,
invokeWithoutExecutionRole: false,
name: 'name',
});
Initializer
new Action(props: ActionProps)
⚠️ Deprecated: undefined
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
⚠️ Deprecated: undefined
Type:
Action
[]
The action points that will trigger the extension action.
eventDestination
⚠️ Deprecated: undefined
Type:
IEvent
The event destination for the action.
description?
⚠️ Deprecated: undefined
Type:
string
(optional)
The description for the action.
executionRole?
⚠️ Deprecated: undefined
Type:
IRole
(optional)
The execution role for the action.
invokeWithoutExecutionRole?
⚠️ Deprecated: undefined
Type:
boolean
(optional)
The flag that specifies whether to create the execution role.
name?
⚠️ Deprecated: undefined
Type:
string
(optional)
The name for the action.