Action
- class aws_cdk.aws_appconfig_alpha.Action(*, action_points, event_destination, description=None, execution_role=None, invoke_without_execution_role=None, name=None)
Bases:
object
(deprecated) Defines an action for an extension.
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_appconfig_alpha as appconfig_alpha from aws_cdk import aws_iam as iam # event_destination: appconfig_alpha.IEventDestination # role: iam.Role action = appconfig_alpha.Action( action_points=[appconfig_alpha.ActionPoint.PRE_CREATE_HOSTED_CONFIGURATION_VERSION], event_destination=event_destination, # the properties below are optional description="description", execution_role=role, invoke_without_execution_role=False, name="name" )
- Parameters:
action_points (
Sequence
[ActionPoint
]) – (deprecated) The action points that will trigger the extension action.event_destination (
IEventDestination
) – (deprecated) The event destination for the action.description (
Optional
[str
]) – (deprecated) The description for the action. Default: - No description.execution_role (
Optional
[IRole
]) – (deprecated) The execution role for the action. Default: - A role is generated.invoke_without_execution_role (
Optional
[bool
]) – (deprecated) 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
]) – (deprecated) The name for the action. Default: - A name is generated.
- Stability:
deprecated
Attributes
- action_points
(deprecated) The action points that will trigger the extension action.
- Stability:
deprecated
- description
(deprecated) The description for the action.
- Stability:
deprecated
- event_destination
(deprecated) The event destination for the action.
- Stability:
deprecated
- execution_role
(deprecated) The execution role for the action.
- Stability:
deprecated
- invoke_without_execution_role
(deprecated) The flag that specifies whether to create the execution role.
- Stability:
deprecated
- name
(deprecated) The name for the action.
- Stability:
deprecated