GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::MWAA::UpdateEnvironment(3) User Contributed Perl Documentation Paws::MWAA::UpdateEnvironment(3)

Paws::MWAA::UpdateEnvironment - Arguments for method UpdateEnvironment on Paws::MWAA

This class represents the parameters used for calling the method UpdateEnvironment on the AmazonMWAA service. Use the attributes of this class as arguments to method UpdateEnvironment.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateEnvironment.

    my $airflow = Paws->service('MWAA');
    my $UpdateEnvironmentOutput = $airflow->UpdateEnvironment(
      Name                        => 'MyEnvironmentName',
      AirflowConfigurationOptions => {
        'MyConfigKey' =>
          'MyConfigValue',    # key: min: 1, max: 64, value: min: 1, max: 256
      },    # OPTIONAL
      AirflowVersion       => 'MyAirflowVersion',      # OPTIONAL
      DagS3Path            => 'MyRelativePath',        # OPTIONAL
      EnvironmentClass     => 'MyEnvironmentClass',    # OPTIONAL
      ExecutionRoleArn     => 'MyIamRoleArn',          # OPTIONAL
      LoggingConfiguration => {
        DagProcessingLogs => {
          Enabled  => 1,
          LogLevel =>
            'CRITICAL',    # values: CRITICAL, ERROR, WARNING, INFO, DEBUG
        },    # OPTIONAL
        SchedulerLogs => {
          Enabled  => 1,
          LogLevel =>
            'CRITICAL',    # values: CRITICAL, ERROR, WARNING, INFO, DEBUG
        },    # OPTIONAL
        TaskLogs => {
          Enabled  => 1,
          LogLevel =>
            'CRITICAL',    # values: CRITICAL, ERROR, WARNING, INFO, DEBUG
        },    # OPTIONAL
        WebserverLogs => {
          Enabled  => 1,
          LogLevel =>
            'CRITICAL',    # values: CRITICAL, ERROR, WARNING, INFO, DEBUG
        },    # OPTIONAL
        WorkerLogs => {
          Enabled  => 1,
          LogLevel =>
            'CRITICAL',    # values: CRITICAL, ERROR, WARNING, INFO, DEBUG
        },    # OPTIONAL
      },    # OPTIONAL
      MaxWorkers           => 1,    # OPTIONAL
      MinWorkers           => 1,    # OPTIONAL
      NetworkConfiguration => {
        SecurityGroupIds => [
          'MySecurityGroupId', ...    # min: 1, max: 1024
        ],    # min: 1, max: 5
      },    # OPTIONAL
      PluginsS3ObjectVersion       => 'MyS3ObjectVersion',    # OPTIONAL
      PluginsS3Path                => 'MyRelativePath',       # OPTIONAL
      RequirementsS3ObjectVersion  => 'MyS3ObjectVersion',    # OPTIONAL
      RequirementsS3Path           => 'MyRelativePath',       # OPTIONAL
      Schedulers                   => 1,                      # OPTIONAL
      SourceBucketArn              => 'MyS3BucketArn',        # OPTIONAL
      WebserverAccessMode          => 'PRIVATE_ONLY',         # OPTIONAL
      WeeklyMaintenanceWindowStart =>
        'MyWeeklyMaintenanceWindowStart',                     # OPTIONAL
    );
    # Results:
    my $Arn = $UpdateEnvironmentOutput->Arn;
    # Returns a L<Paws::MWAA::UpdateEnvironmentOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/airflow/UpdateEnvironment>

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html).

The Apache Airflow version for your environment. For example, "v1.10.12". If no value is specified, defaults to the latest version. Valid values: "v1.10.12".

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).

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).

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).

Defines the Apache Airflow logs to send to CloudWatch Logs: "DagProcessingLogs", "SchedulerLogs", "TaskLogs", "WebserverLogs", "WorkerLogs".

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".

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.

REQUIRED Name => Str

The name of your Amazon MWAA environment. For example, "MyMWAAEnvironment".

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 (https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html).

The version of the plugins.zip file on your Amazon S3 bucket. A version must be specified each time a plugins.zip file is updated. To learn more, see How S3 Versioning works (https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html).

The relative path to the "plugins.zip" file on your Amazon S3 bucket. For example, "plugins.zip". If specified, then the plugins.zip version is required. To learn more, see Installing custom plugins (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html).

The version of the requirements.txt file on your Amazon S3 bucket. A version must be specified each time a requirements.txt file is updated. To learn more, see How S3 Versioning works (https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html).

The relative path to the "requirements.txt" file on your Amazon S3 bucket. For example, "requirements.txt". If specified, then a file version is required. To learn more, see Installing Python dependencies (https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html).

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

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).

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).

Valid values are: "PRIVATE_ONLY", "PUBLIC_ONLY"

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)

This class forms part of Paws, documenting arguments for method UpdateEnvironment in Paws::MWAA

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.