1. Packages
  2. AWS Native
  3. API Docs
  4. mwaa
  5. Environment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.mwaa.Environment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

    Resource schema for AWS::MWAA::Environment

    Create Environment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Environment(name: string, args?: EnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def Environment(resource_name: str,
                    args: Optional[EnvironmentArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Environment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    airflow_configuration_options: Optional[Any] = None,
                    airflow_version: Optional[str] = None,
                    dag_s3_path: Optional[str] = None,
                    endpoint_management: Optional[EnvironmentEndpointManagement] = None,
                    environment_class: Optional[str] = None,
                    execution_role_arn: Optional[str] = None,
                    kms_key: Optional[str] = None,
                    logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
                    max_webservers: Optional[int] = None,
                    max_workers: Optional[int] = None,
                    min_webservers: Optional[int] = None,
                    min_workers: Optional[int] = None,
                    name: Optional[str] = None,
                    network_configuration: Optional[EnvironmentNetworkConfigurationArgs] = None,
                    plugins_s3_object_version: Optional[str] = None,
                    plugins_s3_path: Optional[str] = None,
                    requirements_s3_object_version: Optional[str] = None,
                    requirements_s3_path: Optional[str] = None,
                    schedulers: Optional[int] = None,
                    source_bucket_arn: Optional[str] = None,
                    startup_script_s3_object_version: Optional[str] = None,
                    startup_script_s3_path: Optional[str] = None,
                    tags: Optional[Any] = None,
                    webserver_access_mode: Optional[EnvironmentWebserverAccessMode] = None,
                    weekly_maintenance_window_start: Optional[str] = None)
    func NewEnvironment(ctx *Context, name string, args *EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
    public Environment(string name, EnvironmentArgs? args = null, CustomResourceOptions? opts = null)
    public Environment(String name, EnvironmentArgs args)
    public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
    
    type: aws-native:mwaa:Environment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Environment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Environment resource accepts the following input properties:

    AirflowConfigurationOptions object

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    AirflowVersion string

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    DagS3Path string
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    EndpointManagement Pulumi.AwsNative.Mwaa.EnvironmentEndpointManagement
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    EnvironmentClass string
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    ExecutionRoleArn string
    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 .
    KmsKey string
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    LoggingConfiguration Pulumi.AwsNative.Mwaa.Inputs.EnvironmentLoggingConfiguration
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    MaxWebservers int

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    MaxWorkers int
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    MinWebservers int

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    MinWorkers int
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    Name string
    The name of your Amazon MWAA environment.
    NetworkConfiguration Pulumi.AwsNative.Mwaa.Inputs.EnvironmentNetworkConfiguration
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    PluginsS3ObjectVersion string
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    PluginsS3Path string
    The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip . To learn more, see Installing custom plugins .
    RequirementsS3ObjectVersion string
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    RequirementsS3Path string
    The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt . To learn more, see Installing Python dependencies .
    Schedulers int
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    SourceBucketArn string
    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 .
    StartupScriptS3ObjectVersion string

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    StartupScriptS3Path string

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    Tags object

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    WebserverAccessMode Pulumi.AwsNative.Mwaa.EnvironmentWebserverAccessMode
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    WeeklyMaintenanceWindowStart string
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)
    AirflowConfigurationOptions interface{}

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    AirflowVersion string

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    DagS3Path string
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    EndpointManagement EnvironmentEndpointManagement
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    EnvironmentClass string
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    ExecutionRoleArn string
    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 .
    KmsKey string
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    LoggingConfiguration EnvironmentLoggingConfigurationArgs
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    MaxWebservers int

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    MaxWorkers int
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    MinWebservers int

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    MinWorkers int
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    Name string
    The name of your Amazon MWAA environment.
    NetworkConfiguration EnvironmentNetworkConfigurationArgs
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    PluginsS3ObjectVersion string
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    PluginsS3Path string
    The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip . To learn more, see Installing custom plugins .
    RequirementsS3ObjectVersion string
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    RequirementsS3Path string
    The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt . To learn more, see Installing Python dependencies .
    Schedulers int
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    SourceBucketArn string
    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 .
    StartupScriptS3ObjectVersion string

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    StartupScriptS3Path string

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    Tags interface{}

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    WebserverAccessMode EnvironmentWebserverAccessMode
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    WeeklyMaintenanceWindowStart string
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)
    airflowConfigurationOptions Object

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion String

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    dagS3Path String
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    endpointManagement EnvironmentEndpointManagement
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    environmentClass String
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    executionRoleArn String
    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 .
    kmsKey String
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    loggingConfiguration EnvironmentLoggingConfiguration
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    maxWebservers Integer

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    maxWorkers Integer
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    minWebservers Integer

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    minWorkers Integer
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    name String
    The name of your Amazon MWAA environment.
    networkConfiguration EnvironmentNetworkConfiguration
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    pluginsS3ObjectVersion String
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    pluginsS3Path String
    The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip . To learn more, see Installing custom plugins .
    requirementsS3ObjectVersion String
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    requirementsS3Path String
    The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt . To learn more, see Installing Python dependencies .
    schedulers Integer
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    sourceBucketArn String
    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 .
    startupScriptS3ObjectVersion String

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    startupScriptS3Path String

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    tags Object

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode EnvironmentWebserverAccessMode
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    weeklyMaintenanceWindowStart String
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)
    airflowConfigurationOptions any

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion string

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    dagS3Path string
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    endpointManagement EnvironmentEndpointManagement
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    environmentClass string
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    executionRoleArn string
    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 .
    kmsKey string
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    loggingConfiguration EnvironmentLoggingConfiguration
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    maxWebservers number

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    maxWorkers number
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    minWebservers number

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    minWorkers number
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    name string
    The name of your Amazon MWAA environment.
    networkConfiguration EnvironmentNetworkConfiguration
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    pluginsS3ObjectVersion string
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    pluginsS3Path string
    The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip . To learn more, see Installing custom plugins .
    requirementsS3ObjectVersion string
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    requirementsS3Path string
    The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt . To learn more, see Installing Python dependencies .
    schedulers number
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    sourceBucketArn string
    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 .
    startupScriptS3ObjectVersion string

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    startupScriptS3Path string

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    tags any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode EnvironmentWebserverAccessMode
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    weeklyMaintenanceWindowStart string
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)
    airflow_configuration_options Any

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflow_version str

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    dag_s3_path str
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    endpoint_management EnvironmentEndpointManagement
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    environment_class str
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    execution_role_arn 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 .
    kms_key str
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    logging_configuration EnvironmentLoggingConfigurationArgs
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    max_webservers int

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    max_workers int
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    min_webservers int

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    min_workers int
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    name str
    The name of your Amazon MWAA environment.
    network_configuration EnvironmentNetworkConfigurationArgs
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    plugins_s3_object_version str
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    plugins_s3_path 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 .
    requirements_s3_object_version str
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    requirements_s3_path 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 .
    schedulers int
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    source_bucket_arn 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 .
    startup_script_s3_object_version str

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    startup_script_s3_path str

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    tags Any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserver_access_mode EnvironmentWebserverAccessMode
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    weekly_maintenance_window_start str
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)
    airflowConfigurationOptions Any

    Key/value pairs representing Airflow configuration variables. Keys are prefixed by their section:

    [core]
    dags_folder={AIRFLOW_HOME}/dags
    

    Would be represented as

    "core.dags_folder": "{AIRFLOW_HOME}/dags"

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    airflowVersion String

    The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.

    If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.

    Allowed Values : 1.10.12 | 2.0.2 | 2.2.2 | 2.4.3 | 2.5.1 | 2.6.3 | 2.7.2 | 2.8.1 | 2.9.2 (latest)

    dagS3Path String
    The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags . To learn more, see Adding or updating DAGs .
    endpointManagement "CUSTOMER" | "SERVICE"
    Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE , Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER , you must create, and manage, the VPC endpoints in your VPC.
    environmentClass String
    The environment class type. Valid values: mw1.small , mw1.medium , mw1.large . To learn more, see Amazon MWAA environment class .
    executionRoleArn String
    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 .
    kmsKey String
    The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment. You can use an AWS KMS key managed by MWAA, or a customer-managed KMS key (advanced).
    loggingConfiguration Property Map
    The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs .
    maxWebservers Number

    The maximum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. For example, in scenarios where your workload requires network calls to the Apache Airflow REST API with a high transaction-per-second (TPS) rate, Amazon MWAA will increase the number of web servers up to the number set in MaxWebserers . As TPS rates decrease Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    maxWorkers Number
    The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. For example, 20 . When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one worker that is included with your environment, or the number you specify in MinWorkers .
    minWebservers Number

    The minimum number of web servers that you want to run in your environment. Amazon MWAA scales the number of Apache Airflow web servers up to the number you specify for MaxWebservers when you interact with your Apache Airflow environment using Apache Airflow REST API, or the Apache Airflow CLI. As the transaction-per-second rate, and the network load, decrease, Amazon MWAA disposes of the additional web servers, and scales down to the number set in MinxWebserers .

    Valid values: Accepts between 2 and 5 . Defaults to 2 .

    minWorkers Number
    The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers up to the number you specify in the MaxWorkers field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the MinWorkers field. For example, 2 .
    name String
    The name of your Amazon MWAA environment.
    networkConfiguration Property Map
    The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA .
    pluginsS3ObjectVersion String
    The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins .
    pluginsS3Path String
    The relative path to the plugins.zip file on your Amazon S3 bucket. For example, plugins.zip . To learn more, see Installing custom plugins .
    requirementsS3ObjectVersion String
    The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies .
    requirementsS3Path String
    The relative path to the requirements.txt file on your Amazon S3 bucket. For example, requirements.txt . To learn more, see Installing Python dependencies .
    schedulers Number
    The number of schedulers that you want to run in your environment. Valid values:

    • v2 - Accepts between 2 to 5. Defaults to 2.
    • v1 - Accepts 1.
    sourceBucketArn String
    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 .
    startupScriptS3ObjectVersion String

    The version of the startup shell script in your Amazon S3 bucket. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.

    Version IDs are Unicode, UTF-8 encoded, URL-ready, opaque strings that are no more than 1,024 bytes long. The following is an example:

    3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo

    For more information, see Using a startup script .

    startupScriptS3Path String

    The relative path to the startup shell script in your Amazon S3 bucket. For example, s3://mwaa-environment/startup.sh .

    Amazon MWAA runs the script as your environment starts, and before running the Apache Airflow process. You can use this script to install dependencies, modify Apache Airflow configuration options, and set environment variables. For more information, see Using a startup script .

    tags Any

    A map of tags for the environment.

    Search the CloudFormation User Guide for AWS::MWAA::Environment for more information about the expected schema for this property.

    webserverAccessMode "PRIVATE_ONLY" | "PUBLIC_ONLY"
    The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes . Valid values: PRIVATE_ONLY or PUBLIC_ONLY .
    weeklyMaintenanceWindowStart String
    The day and time of the week to start weekly maintenance updates of your environment in the following format: DAY:HH:MM . For example: TUE:03:30 . You can specify a start time in 30 minute increments only. Supported input includes the following:

    • MON|TUE|WED|THU|FRI|SAT|SUN:([01]\d|2[0-3]):(00|30)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:

    Arn string
    The ARN for the Amazon MWAA environment.
    CeleryExecutorQueue string
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    DatabaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database.
    Id string
    The provider-assigned unique ID for this managed resource.
    WebserverUrl string
    The URL of your Apache Airflow UI.
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server.
    Arn string
    The ARN for the Amazon MWAA environment.
    CeleryExecutorQueue string
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    DatabaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database.
    Id string
    The provider-assigned unique ID for this managed resource.
    WebserverUrl string
    The URL of your Apache Airflow UI.
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server.
    arn String
    The ARN for the Amazon MWAA environment.
    celeryExecutorQueue String
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    databaseVpcEndpointService String
    The VPC endpoint for the environment's Amazon RDS database.
    id String
    The provider-assigned unique ID for this managed resource.
    webserverUrl String
    The URL of your Apache Airflow UI.
    webserverVpcEndpointService String
    The VPC endpoint for the environment's web server.
    arn string
    The ARN for the Amazon MWAA environment.
    celeryExecutorQueue string
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    databaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database.
    id string
    The provider-assigned unique ID for this managed resource.
    webserverUrl string
    The URL of your Apache Airflow UI.
    webserverVpcEndpointService string
    The VPC endpoint for the environment's web server.
    arn str
    The ARN for the Amazon MWAA environment.
    celery_executor_queue str
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    database_vpc_endpoint_service str
    The VPC endpoint for the environment's Amazon RDS database.
    id str
    The provider-assigned unique ID for this managed resource.
    webserver_url str
    The URL of your Apache Airflow UI.
    webserver_vpc_endpoint_service str
    The VPC endpoint for the environment's web server.
    arn String
    The ARN for the Amazon MWAA environment.
    celeryExecutorQueue String
    The queue ARN for the environment's Celery Executor . Amazon MWAA uses a Celery Executor to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.
    databaseVpcEndpointService String
    The VPC endpoint for the environment's Amazon RDS database.
    id String
    The provider-assigned unique ID for this managed resource.
    webserverUrl String
    The URL of your Apache Airflow UI.
    webserverVpcEndpointService String
    The VPC endpoint for the environment's web server.

    Supporting Types

    EnvironmentEndpointManagement, EnvironmentEndpointManagementArgs

    Customer
    CUSTOMER
    Service
    SERVICE
    EnvironmentEndpointManagementCustomer
    CUSTOMER
    EnvironmentEndpointManagementService
    SERVICE
    Customer
    CUSTOMER
    Service
    SERVICE
    Customer
    CUSTOMER
    Service
    SERVICE
    CUSTOMER
    CUSTOMER
    SERVICE
    SERVICE
    "CUSTOMER"
    CUSTOMER
    "SERVICE"
    SERVICE

    EnvironmentLoggingConfiguration, EnvironmentLoggingConfigurationArgs

    DagProcessingLogs Pulumi.AwsNative.Mwaa.Inputs.EnvironmentModuleLoggingConfiguration
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    SchedulerLogs Pulumi.AwsNative.Mwaa.Inputs.EnvironmentModuleLoggingConfiguration
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    TaskLogs Pulumi.AwsNative.Mwaa.Inputs.EnvironmentModuleLoggingConfiguration
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    WebserverLogs Pulumi.AwsNative.Mwaa.Inputs.EnvironmentModuleLoggingConfiguration
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    WorkerLogs Pulumi.AwsNative.Mwaa.Inputs.EnvironmentModuleLoggingConfiguration
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    DagProcessingLogs EnvironmentModuleLoggingConfiguration
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    SchedulerLogs EnvironmentModuleLoggingConfiguration
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    TaskLogs EnvironmentModuleLoggingConfiguration
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    WebserverLogs EnvironmentModuleLoggingConfiguration
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    WorkerLogs EnvironmentModuleLoggingConfiguration
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    dagProcessingLogs EnvironmentModuleLoggingConfiguration
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    schedulerLogs EnvironmentModuleLoggingConfiguration
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    taskLogs EnvironmentModuleLoggingConfiguration
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    webserverLogs EnvironmentModuleLoggingConfiguration
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    workerLogs EnvironmentModuleLoggingConfiguration
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    dagProcessingLogs EnvironmentModuleLoggingConfiguration
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    schedulerLogs EnvironmentModuleLoggingConfiguration
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    taskLogs EnvironmentModuleLoggingConfiguration
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    webserverLogs EnvironmentModuleLoggingConfiguration
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    workerLogs EnvironmentModuleLoggingConfiguration
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    dag_processing_logs EnvironmentModuleLoggingConfiguration
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    scheduler_logs EnvironmentModuleLoggingConfiguration
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    task_logs EnvironmentModuleLoggingConfiguration
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    webserver_logs EnvironmentModuleLoggingConfiguration
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    worker_logs EnvironmentModuleLoggingConfiguration
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.
    dagProcessingLogs Property Map
    Defines the processing logs sent to CloudWatch Logs and the logging level to send.
    schedulerLogs Property Map
    Defines the scheduler logs sent to CloudWatch Logs and the logging level to send.
    taskLogs Property Map
    Defines the task logs sent to CloudWatch Logs and the logging level to send.
    webserverLogs Property Map
    Defines the web server logs sent to CloudWatch Logs and the logging level to send.
    workerLogs Property Map
    Defines the worker logs sent to CloudWatch Logs and the logging level to send.

    EnvironmentLoggingLevel, EnvironmentLoggingLevelArgs

    Critical
    CRITICAL
    Error
    ERROR
    Warning
    WARNING
    Info
    INFO
    Debug
    DEBUG
    EnvironmentLoggingLevelCritical
    CRITICAL
    EnvironmentLoggingLevelError
    ERROR
    EnvironmentLoggingLevelWarning
    WARNING
    EnvironmentLoggingLevelInfo
    INFO
    EnvironmentLoggingLevelDebug
    DEBUG
    Critical
    CRITICAL
    Error
    ERROR
    Warning
    WARNING
    Info
    INFO
    Debug
    DEBUG
    Critical
    CRITICAL
    Error
    ERROR
    Warning
    WARNING
    Info
    INFO
    Debug
    DEBUG
    CRITICAL
    CRITICAL
    ERROR
    ERROR
    WARNING
    WARNING
    INFO
    INFO
    DEBUG
    DEBUG
    "CRITICAL"
    CRITICAL
    "ERROR"
    ERROR
    "WARNING"
    WARNING
    "INFO"
    INFO
    "DEBUG"
    DEBUG

    EnvironmentModuleLoggingConfiguration, EnvironmentModuleLoggingConfigurationArgs

    CloudWatchLogGroupArn string

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    Enabled bool
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    LogLevel Pulumi.AwsNative.Mwaa.EnvironmentLoggingLevel
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .
    CloudWatchLogGroupArn string

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    Enabled bool
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    LogLevel EnvironmentLoggingLevel
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .
    cloudWatchLogGroupArn String

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    enabled Boolean
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    logLevel EnvironmentLoggingLevel
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .
    cloudWatchLogGroupArn string

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    enabled boolean
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    logLevel EnvironmentLoggingLevel
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .
    cloud_watch_log_group_arn str

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    enabled bool
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    log_level EnvironmentLoggingLevel
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .
    cloudWatchLogGroupArn String

    The ARN of the CloudWatch Logs log group for each type of Apache Airflow log type that you have enabled.

    CloudWatchLogGroupArn is available only as a return value, accessible when specified as an attribute in the Fn:GetAtt intrinsic function. Any value you provide for CloudWatchLogGroupArn is discarded by Amazon MWAA.

    enabled Boolean
    Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs ) in CloudWatch Logs.
    logLevel "CRITICAL" | "ERROR" | "WARNING" | "INFO" | "DEBUG"
    Defines the Apache Airflow logs to send for the log type (e.g. DagProcessingLogs ) to CloudWatch Logs. Valid values: CRITICAL , ERROR , WARNING , INFO .

    EnvironmentNetworkConfiguration, EnvironmentNetworkConfigurationArgs

    SecurityGroupIds List<string>
    A list of security groups to use for the environment.
    SubnetIds List<string>
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
    SecurityGroupIds []string
    A list of security groups to use for the environment.
    SubnetIds []string
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
    securityGroupIds List<String>
    A list of security groups to use for the environment.
    subnetIds List<String>
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
    securityGroupIds string[]
    A list of security groups to use for the environment.
    subnetIds string[]
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
    security_group_ids Sequence[str]
    A list of security groups to use for the environment.
    subnet_ids Sequence[str]
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.
    securityGroupIds List<String>
    A list of security groups to use for the environment.
    subnetIds List<String>
    A list of subnets to use for the environment. These must be private subnets, in the same VPC, in two different availability zones.

    EnvironmentWebserverAccessMode, EnvironmentWebserverAccessModeArgs

    PrivateOnly
    PRIVATE_ONLY
    PublicOnly
    PUBLIC_ONLY
    EnvironmentWebserverAccessModePrivateOnly
    PRIVATE_ONLY
    EnvironmentWebserverAccessModePublicOnly
    PUBLIC_ONLY
    PrivateOnly
    PRIVATE_ONLY
    PublicOnly
    PUBLIC_ONLY
    PrivateOnly
    PRIVATE_ONLY
    PublicOnly
    PUBLIC_ONLY
    PRIVATE_ONLY
    PRIVATE_ONLY
    PUBLIC_ONLY
    PUBLIC_ONLY
    "PRIVATE_ONLY"
    PRIVATE_ONLY
    "PUBLIC_ONLY"
    PUBLIC_ONLY

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi