Action
- class aws_cdk.aws_appconfig.Action(*, action_points, event_destination, description=None, execution_role=None, invoke_without_execution_role=None, name=None)
Bases:
object
Defines an action for an extension.
- ExampleMetadata:
infused
Example:
# fn: lambda.Function appconfig.Extension(self, "MyExtension", actions=[ appconfig.Action( action_points=[appconfig.ActionPoint.ON_DEPLOYMENT_START], event_destination=appconfig.LambdaDestination(fn) ) ] )
- Parameters:
action_points (
Sequence
[ActionPoint
]) – The action points that will trigger the extension action.event_destination (
IEventDestination
) – The event destination for the action.description (
Optional
[str
]) – The description for the action. Default: - No description.execution_role (
Optional
[IRole
]) – The execution role for the action. Default: - A role is generated.invoke_without_execution_role (
Optional
[bool
]) – 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. Default: falsename (
Optional
[str
]) – The name for the action. Default: - A name is generated.
Attributes
- action_points
The action points that will trigger the extension action.
- description
The description for the action.
- event_destination
The event destination for the action.
- execution_role
The execution role for the action.
- invoke_without_execution_role
The flag that specifies whether to create the execution role.
- name
The name for the action.