CreateWorkflowRequest
¶
Source code in docs_src/capo_transfer/types/create_workflow_request.py
description
instance-attribute
¶
description: NotRequired[WorkflowDescription]
A textual description for the workflow.
on_exception_steps
instance-attribute
¶
on_exception_steps: NotRequired[WorkflowSteps]
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE to the call back API to kick off the exception steps. Additionally, if the Lambda does not send SUCCESS before it times out, the exception steps are executed.
steps
instance-attribute
¶
steps: WorkflowSteps
Specifies the details for the steps that are in the specified workflow.
The TYPE specifies which of the following actions is being taken for this step.
-
COPY- Copy the file to another location. -
CUSTOM- Perform a custom step with an Lambda function target. -
DECRYPT- Decrypt a file that was encrypted before it was uploaded. -
DELETE- Delete the file. -
TAG- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
structured_log_destinations
instance-attribute
¶
structured_log_destinations: NotRequired[StructuredLogDestinations]
Specifies the log groups to which your workflow logs are sent.
To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows:
arn:partition:logs:region-name:amazon-account-id:log-group:log-group-name:*
For example, arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*