Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
An action defines the tasks the extension performs during the AppConfig
workflow. Each action includes an action point such as
ON_CREATE_HOSTED_CONFIGURATION
, PRE_DEPLOYMENT
, or ON_DEPLOYMENT
.
Each action also includes a name, a URI to an Lambda function, and an
Amazon Resource Name (ARN) for an Identity and Access Management assume
role. You specify the name, URI, and ARN for each action point defined
in the extension. You can specify the following actions for an
extension:
PRE_CREATE_HOSTED_CONFIGURATION_VERSION
PRE_START_DEPLOYMENT
ON_DEPLOYMENT_START
ON_DEPLOYMENT_STEP
ON_DEPLOYMENT_BAKING
ON_DEPLOYMENT_COMPLETE
ON_DEPLOYMENT_ROLLED_BACK
See: newAction
smart constructor.
Action' | |
|
Instances
Create a value of Action
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:Action'
, action_description
- Information about the action.
$sel:name:Action'
, action_name
- The action name.
$sel:roleArn:Action'
, action_roleArn
- An Amazon Resource Name (ARN) for an Identity and Access Management
assume role.
$sel:uri:Action'
, action_uri
- The extension URI associated to the action point in the extension
definition. The URI can be an Amazon Resource Name (ARN) for one of the
following: an Lambda function, an Amazon Simple Queue Service queue, an
Amazon Simple Notification Service topic, or the Amazon EventBridge
default event bus.
action_roleArn :: Lens' Action (Maybe Text) Source #
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
action_uri :: Lens' Action (Maybe Text) Source #
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.