UpdateWorkflowRequest
¶
Source code in docs_src/capo_mwaa_serverless/types/update_workflow_request.py
code
instance-attribute
¶
code: NotRequired[Code]
The location of code artifacts in Amazon S3 for the updated workflow. The service copies the code from this location at the time of the request.
definition_s3_location
instance-attribute
¶
definition_s3_location: DefinitionS3Location
The Amazon S3 location where the updated workflow definition file is stored.
description
instance-attribute
¶
description: NotRequired[DescriptionString]
An updated description for the workflow.
engine_version
instance-attribute
¶
engine_version: NotRequired[EngineVersion]
The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.
environment
instance-attribute
¶
environment: NotRequired[Environment]
The environment variables to set for tasks in the workflow.
The variables that you specify replace all existing environment variables for the workflow. If you don't specify this parameter, the workflow has no environment variables. To keep existing environment variables, include them in the request.
logging_configuration
instance-attribute
¶
logging_configuration: NotRequired[LoggingConfiguration]
Updated logging configuration for the workflow.
network_configuration
instance-attribute
¶
network_configuration: NotRequired[NetworkConfiguration]
Updated network configuration for the workflow execution environment.
on_behalf_of
instance-attribute
¶
on_behalf_of: NotRequired[OnBehalfOfIdentity]
Specifies whether scheduled runs of the new workflow version carry your identity context in addition to the execution role. Identity context is information about your user identity that Amazon Web Services propagates with your credentials, for example when you sign in through IAM Identity Center. Specify one of the following values:
-
EXECUTION_ROLE– If you specify this value, scheduled runs use only the execution role that you specify inRoleArn. -
ORIGIN_IDENTITY– If you specify this value, scheduled runs use the execution role that you specify inRoleArn, with your identity context attached. To use this value, the workflow definition must include a schedule. The credentials that you sign the request with must also include identity context.
If you don't specify this parameter, the new workflow version uses EXECUTION_ROLE, and its scheduled runs no longer carry your identity context. To keep your identity context attached to scheduled runs, specify ORIGIN_IDENTITY again. Scheduled runs of the new version then carry the identity context from your update request.
role_arn
instance-attribute
¶
role_arn: RoleARN
The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.
trigger_mode
instance-attribute
¶
trigger_mode: NotRequired[GenericString]
The trigger mode for the workflow execution.
workflow_arn
instance-attribute
¶
workflow_arn: WorkflowArn
The Amazon Resource Name (ARN) of the workflow you want to update.