Skip to content

/AWS1/CL_MWSDEFNS3LOCATION

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 Amazon Web Services operators and Amazon Managed Workflows for Apache Airflow Serverless syntax.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_bucket TYPE /AWS1/MWSSTRING /AWS1/MWSSTRING

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

iv_objectkey TYPE /AWS1/MWSSTRING /AWS1/MWSSTRING

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

Optional arguments:

iv_versionid TYPE /AWS1/MWSSTRING /AWS1/MWSSTRING

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


Queryable Attributes

Bucket

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

Accessible with the following methods

Method Description
GET_BUCKET() Getter for BUCKET, with configurable default
ASK_BUCKET() Getter for BUCKET w/ exceptions if field has no value
HAS_BUCKET() Determine if BUCKET has a value

ObjectKey

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

Accessible with the following methods

Method Description
GET_OBJECTKEY() Getter for OBJECTKEY, with configurable default
ASK_OBJECTKEY() Getter for OBJECTKEY w/ exceptions if field has no value
HAS_OBJECTKEY() Determine if OBJECTKEY has a value

VersionId

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

Accessible with the following methods

Method Description
GET_VERSIONID() Getter for VERSIONID, with configurable default
ASK_VERSIONID() Getter for VERSIONID w/ exceptions if field has no value
HAS_VERSIONID() Determine if VERSIONID has a value