Skip to main content

web_login_tokens

Creates, updates, deletes, gets or lists a web_login_tokens resource.

Overview

Nameweb_login_tokens
TypeResource
Idaws.mwaa.web_login_tokens

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_web_login_tokeninsertname, regionCreates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
regionstringAWS region (default: us-east-1)

INSERT examples

Creates a web login token for the Airflow Web UI. To learn more, see Creating an Apache Airflow web login token.

INSERT INTO aws.mwaa.web_login_tokens (
name,
region
)
SELECT
'{{ name }}',
'{{ region }}'
RETURNING
airflow_identity,
iam_identity,
web_server_hostname,
web_token
;