amazonka-mwaa-2.0: Amazon MWAA SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MwAA.Types.Environment

Description

 
Synopsis

Documentation

data Environment Source #

Describes an Amazon Managed Workflows for Apache Airflow (MWAA) environment.

See: newEnvironment smart constructor.

Constructors

Environment' 

Fields

Instances

Instances details
FromJSON Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

Generic Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

Associated Types

type Rep Environment :: Type -> Type #

Show Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

NFData Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

Methods

rnf :: Environment -> () #

Eq Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

Hashable Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

type Rep Environment Source # 
Instance details

Defined in Amazonka.MwAA.Types.Environment

type Rep Environment = D1 ('MetaData "Environment" "Amazonka.MwAA.Types.Environment" "amazonka-mwaa-2.0-KORB5SeCyuF7wioeYKG3eR" 'False) (C1 ('MetaCons "Environment'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "airflowConfigurationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "airflowVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "dagS3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "executionRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastUpdate)))) :*: ((S1 ('MetaSel ('Just "loggingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfiguration)) :*: S1 ('MetaSel ('Just "maxWorkers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "minWorkers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "networkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConfiguration)) :*: (S1 ('MetaSel ('Just "pluginsS3ObjectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pluginsS3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "requirementsS3ObjectVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "requirementsS3Path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schedulers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceBucketArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentStatus)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "webserverAccessMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WebserverAccessMode))) :*: (S1 ('MetaSel ('Just "webserverUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "weeklyMaintenanceWindowStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newEnvironment :: Environment Source #

Create a value of Environment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:airflowConfigurationOptions:Environment', environment_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.

$sel:airflowVersion:Environment', environment_airflowVersion - The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, 2.2.2, and 2.4.3.

$sel:arn:Environment', environment_arn - The Amazon Resource Name (ARN) of the Amazon MWAA environment.

Environment, environment_createdAt - The day and time the environment was created.

$sel:dagS3Path:Environment', environment_dagS3Path - The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. To learn more, see Adding or updating DAGs.

$sel:environmentClass:Environment', environment_environmentClass - The environment class type. Valid values: mw1.small, mw1.medium, mw1.large. To learn more, see Amazon MWAA environment class.

$sel:executionRoleArn:Environment', environment_executionRoleArn - The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role.

$sel:kmsKey:Environment', environment_kmsKey - The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.

$sel:lastUpdate:Environment', environment_lastUpdate - The status of the last update on the environment.

$sel:loggingConfiguration:Environment', environment_loggingConfiguration - The Apache Airflow logs published to CloudWatch Logs.

$sel:maxWorkers:Environment', environment_maxWorkers - The maximum number of workers that run in your environment. For example, 20.

$sel:minWorkers:Environment', environment_minWorkers - The minimum number of workers that run in your environment. For example, 2.

$sel:name:Environment', environment_name - The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

$sel:networkConfiguration:Environment', environment_networkConfiguration - Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see About networking on Amazon MWAA.

$sel:pluginsS3ObjectVersion:Environment', environment_pluginsS3ObjectVersion - The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins.

$sel:pluginsS3Path:Environment', environment_pluginsS3Path - The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip. To learn more, see Installing custom plugins.

$sel:requirementsS3ObjectVersion:Environment', environment_requirementsS3ObjectVersion - The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies.

$sel:requirementsS3Path:Environment', environment_requirementsS3Path - The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt. To learn more, see Installing Python dependencies.

$sel:schedulers:Environment', environment_schedulers - The number of Apache Airflow schedulers that run in your Amazon MWAA environment.

$sel:serviceRoleArn:Environment', environment_serviceRoleArn - The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role.

$sel:sourceBucketArn:Environment', environment_sourceBucketArn - 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.

Environment, environment_status - 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.

$sel:tags:Environment', environment_tags - The key-value tag pairs associated to your environment. For example, "Environment": "Staging". To learn more, see Tagging Amazon Web Services resources.

$sel:webserverAccessMode:Environment', environment_webserverAccessMode - The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.

$sel:webserverUrl:Environment', environment_webserverUrl - The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI.

$sel:weeklyMaintenanceWindowStart:Environment', environment_weeklyMaintenanceWindowStart - The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30.

environment_airflowConfigurationOptions :: Lens' Environment (Maybe (HashMap Text Text)) Source #

A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.

environment_airflowVersion :: Lens' Environment (Maybe Text) Source #

The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, 2.2.2, and 2.4.3.

environment_arn :: Lens' Environment (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon MWAA environment.

environment_createdAt :: Lens' Environment (Maybe UTCTime) Source #

The day and time the environment was created.

environment_dagS3Path :: Lens' Environment (Maybe Text) Source #

The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. To learn more, see Adding or updating DAGs.

environment_environmentClass :: Lens' Environment (Maybe Text) Source #

The environment class type. Valid values: mw1.small, mw1.medium, mw1.large. To learn more, see Amazon MWAA environment class.

environment_executionRoleArn :: Lens' Environment (Maybe Text) Source #

The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role.

environment_kmsKey :: Lens' Environment (Maybe Text) Source #

The Amazon Web Services Key Management Service (KMS) encryption key used to encrypt the data in your environment.

environment_lastUpdate :: Lens' Environment (Maybe LastUpdate) Source #

The status of the last update on the environment.

environment_loggingConfiguration :: Lens' Environment (Maybe LoggingConfiguration) Source #

The Apache Airflow logs published to CloudWatch Logs.

environment_maxWorkers :: Lens' Environment (Maybe Natural) Source #

The maximum number of workers that run in your environment. For example, 20.

environment_minWorkers :: Lens' Environment (Maybe Natural) Source #

The minimum number of workers that run in your environment. For example, 2.

environment_name :: Lens' Environment (Maybe Text) Source #

The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

environment_networkConfiguration :: Lens' Environment (Maybe NetworkConfiguration) Source #

Describes the VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. To learn more, see About networking on Amazon MWAA.

environment_pluginsS3ObjectVersion :: Lens' Environment (Maybe Text) Source #

The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins.

environment_pluginsS3Path :: Lens' Environment (Maybe Text) Source #

The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip. To learn more, see Installing custom plugins.

environment_requirementsS3ObjectVersion :: Lens' Environment (Maybe Text) Source #

The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies.

environment_requirementsS3Path :: Lens' Environment (Maybe Text) Source #

The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt. To learn more, see Installing Python dependencies.

environment_schedulers :: Lens' Environment (Maybe Int) Source #

The number of Apache Airflow schedulers that run in your Amazon MWAA environment.

environment_serviceRoleArn :: Lens' Environment (Maybe Text) Source #

The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role.

environment_sourceBucketArn :: Lens' Environment (Maybe Text) Source #

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.

environment_status :: Lens' Environment (Maybe EnvironmentStatus) Source #

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.

environment_tags :: Lens' Environment (Maybe (HashMap Text Text)) Source #

The key-value tag pairs associated to your environment. For example, "Environment": "Staging". To learn more, see Tagging Amazon Web Services resources.

environment_webserverAccessMode :: Lens' Environment (Maybe WebserverAccessMode) Source #

The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.

environment_webserverUrl :: Lens' Environment (Maybe Text) Source #

The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI.

environment_weeklyMaintenanceWindowStart :: Lens' Environment (Maybe Text) Source #

The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: TUE:03:30.