NAME
Paws::MWAA::Environment
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::MWAA::Environment object:
$service_obj->Method(Att1 => { AirflowConfigurationOptions => $value, ..., WeeklyMaintenanceWindowStart => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::MWAA::Environment object:
$result = $service_obj->Method(...);
$result->Att1->AirflowConfigurationOptions
DESCRIPTION
The Amazon Managed Workflows for Apache Airflow (MWAA) environment.
ATTRIBUTES
AirflowConfigurationOptions => Paws::MWAA::AirflowConfigurationOptions
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html).
AirflowVersion => Str
The Apache Airflow version on your environment. For example, v1.10.12
.
Arn => Str
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
CreatedAt => Str
The day and time the environment was created.
DagS3Path => Str
The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags
. To learn more, see Adding or updating DAGs (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html).
EnvironmentClass => Str
The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. To learn more, see Amazon MWAA environment class (https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html).
ExecutionRoleArn => Str
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role
. To learn more, see Amazon MWAA Execution role (https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html).
KmsKey => Str
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
LastUpdate => Paws::MWAA::LastUpdate
LoggingConfiguration => Paws::MWAA::LoggingConfiguration
The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
, SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.
MaxWorkers => Int
The maximum number of workers that run in your environment. For example, 20
.
MinWorkers => Int
The minimum number of workers that run in your environment. For example, 2
.
Name => Str
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
NetworkConfiguration => Paws::MWAA::NetworkConfiguration
PluginsS3ObjectVersion => Str
The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html).
PluginsS3Path => Str
The relative path to the plugins.zip
file on your Amazon S3 bucket. For example, plugins.zip
. To learn more, see Installing custom plugins (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html).
RequirementsS3ObjectVersion => Str
The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies (https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html).
RequirementsS3Path => Str
The relative path to the requirements.txt
file on your Amazon S3 bucket. For example, requirements.txt
. To learn more, see Installing Python dependencies (https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html).
Schedulers => Int
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
ServiceRoleArn => Str
The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role (https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-slr.html).
SourceBucketArn => Str
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name
. To learn more, see Create an Amazon S3 bucket for Amazon MWAA (https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html).
Status => Str
The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could not be created.AVAILABLE
- Indicates the request was successful and the environment is ready to use.UPDATING
- Indicates the request to update the environment is in progress.DELETING
- Indicates the request to delete the environment is in progress.DELETED
- Indicates the request to delete the environment is complete, and the environment has been deleted.UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is not in a stable state.UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment has rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting (https://docs.aws.amazon.com/mwaa/latest/userguide/troubleshooting.html).
Tags => Paws::MWAA::TagMap
The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To learn more, see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
WebserverAccessMode => Str
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html).
WebserverUrl => Str
The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI (https://docs.aws.amazon.com/mwaa/latest/userguide/access-airflow-ui.html).
WeeklyMaintenanceWindowStart => Str
The day and time of the week that weekly maintenance updates are scheduled. For example: TUE:03:30
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::MWAA
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues