interface ActionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppConfig.Alpha.ActionProps |
Go | github.com/aws/aws-cdk-go/awscdkappconfigalpha/v2#ActionProps |
Java | software.amazon.awscdk.services.appconfig.alpha.ActionProps |
Python | aws_cdk.aws_appconfig_alpha.ActionProps |
TypeScript (source) | @aws-cdk/aws-appconfig-alpha » ActionProps |
⚠️ Deprecated: undefined
Properties for the Action construct.
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 actionProps: appconfig_alpha.ActionProps = {
actionPoints: [appconfig_alpha.ActionPoint.PRE_CREATE_HOSTED_CONFIGURATION_VERSION],
eventDestination: eventDestination,
// the properties below are optional
description: 'description',
executionRole: role,
invokeWithoutExecutionRole: false,
name: 'name',
};
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
⚠️ 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, default: No description.)
The description for the action.
executionRole?
⚠️ Deprecated: undefined
Type:
IRole
(optional, default: A role is generated.)
The execution role for the action.
invokeWithoutExecutionRole?
⚠️ Deprecated: undefined
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?
⚠️ Deprecated: undefined
Type:
string
(optional, default: A name is generated.)
The name for the action.