AWS::MWAAServerless::Workflow S3Location - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::MWAAServerless::Workflow S3Location

Specifies the Amazon S3 location of a workflow definition file. This structure contains the bucket name, object key, and optional version ID for the workflow definition. Amazon Managed Workflows for Apache Airflow Serverless takes a snapshot of the definition file at the time of workflow creation or update, ensuring that the workflow behavior remains consistent even if the source file is modified. The definition must be a valid YAML file that uses supported AWS operators and Amazon Managed Workflows for Apache Airflow Serverless syntax.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Bucket" : String, "ObjectKey" : String, "VersionId" : String }

YAML

Bucket: String ObjectKey: String VersionId: String

Properties

Bucket

The name of the Amazon S3 bucket that contains the workflow definition file.

Required: Yes

Type: String

Minimum: 1

Update requires: No interruption

ObjectKey

The key (name) of the workflow definition file within the S3 bucket.

Required: Yes

Type: String

Minimum: 1

Update requires: No interruption

VersionId

Optional. The version ID of the workflow definition file in Amazon S3. If not specified, the latest version is used.

Required: No

Type: String

Update requires: No interruption