PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::MWAA::CreateEnvironment; use Moose; has AirflowConfigurationOptions => (is => 'ro', isa => 'Paws::MWAA::SyntheticCreateEnvironmentInputAirflowConfigurationOptions'); has AirflowVersion => (is => 'ro', isa => 'Str'); has DagS3Path => (is => 'ro', isa => 'Str', required => 1); has EnvironmentClass => (is => 'ro', isa => 'Str'); has ExecutionRoleArn => (is => 'ro', isa => 'Str', required => 1); has KmsKey => (is => 'ro', isa => 'Str'); has LoggingConfiguration => (is => 'ro', isa => 'Paws::MWAA::LoggingConfigurationInput'); has MaxWorkers => (is => 'ro', isa => 'Int'); has MinWorkers => (is => 'ro', isa => 'Int'); has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'Name', required => 1); has NetworkConfiguration => (is => 'ro', isa => 'Paws::MWAA::NetworkConfiguration', required => 1); has PluginsS3ObjectVersion => (is => 'ro', isa => 'Str'); has PluginsS3Path => (is => 'ro', isa => 'Str'); has RequirementsS3ObjectVersion => (is => 'ro', isa => 'Str'); has RequirementsS3Path => (is => 'ro', isa => 'Str'); has Schedulers => (is => 'ro', isa => 'Int'); has SourceBucketArn => (is => 'ro', isa => 'Str', required => 1); has Tags => (is => 'ro', isa => 'Paws::MWAA::TagMap'); has WebserverAccessMode => (is => 'ro', isa => 'Str'); has WeeklyMaintenanceWindowStart => (is => 'ro', isa => 'Str'); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEnvironment'); class_has _api_uri => (isa => 'Str', is => 'ro', default => '/environments/{Name}'); class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MWAA::CreateEnvironmentOutput'); 1; ### main pod documentation begin ### =head1 NAME Paws::MWAA::CreateEnvironment - Arguments for method CreateEnvironment on L =head1 DESCRIPTION This class represents the parameters used for calling the method CreateEnvironment on the L service. Use the attributes of this class as arguments to method CreateEnvironment. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironment. =head1 SYNOPSIS my $airflow = Paws->service('MWAA'); my $CreateEnvironmentOutput = $airflow->CreateEnvironment( DagS3Path => 'MyRelativePath', ExecutionRoleArn => 'MyIamRoleArn', Name => 'MyEnvironmentName', NetworkConfiguration => { SecurityGroupIds => [ 'MySecurityGroupId', ... # min: 1, max: 1024 ], # min: 1, max: 5; OPTIONAL SubnetIds => [ 'MySubnetId', ... # min: 1, max: 1024 ], # min: 2, max: 2; OPTIONAL }, SourceBucketArn => 'MyS3BucketArn', AirflowConfigurationOptions => { 'MyConfigKey' => 'MyConfigValue', # key: min: 1, max: 64, value: min: 1, max: 256 }, # OPTIONAL AirflowVersion => 'MyAirflowVersion', # OPTIONAL EnvironmentClass => 'MyEnvironmentClass', # OPTIONAL KmsKey => 'MyKmsKey', # 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 PluginsS3ObjectVersion => 'MyS3ObjectVersion', # OPTIONAL PluginsS3Path => 'MyRelativePath', # OPTIONAL RequirementsS3ObjectVersion => 'MyS3ObjectVersion', # OPTIONAL RequirementsS3Path => 'MyRelativePath', # OPTIONAL Schedulers => 1, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: min: 1, max: 256 }, # OPTIONAL WebserverAccessMode => 'PRIVATE_ONLY', # OPTIONAL WeeklyMaintenanceWindowStart => 'MyWeeklyMaintenanceWindowStart', # OPTIONAL ); # Results: my $Arn = $CreateEnvironmentOutput->Arn; # Returns a L 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 L =head1 ATTRIBUTES =head2 AirflowConfigurationOptions => L 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). =head2 AirflowVersion => Str The Apache Airflow version for your environment. For example, C. If no value is specified, defaults to the latest version. Valid values: C. =head2 B DagS3Path => Str The relative path to the DAGs folder on your Amazon S3 bucket. For example, C. To learn more, see Adding or updating DAGs (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html). =head2 EnvironmentClass => Str The environment class type. Valid values: C, C, C. To learn more, see Amazon MWAA environment class (https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html). =head2 B ExecutionRoleArn => Str The Amazon Resource Name (ARN) of the execution role for your environment. An execution role is an AWS Identity and Access Management (IAM) role that grants MWAA permission to access AWS services and resources used by your environment. For example, C. To learn more, see Amazon MWAA Execution role (https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html). =head2 KmsKey => Str The AWS Key Management Service (KMS) key to encrypt the data in your environment. You can use an AWS owned CMK, or a Customer managed CMK (advanced). To learn more, see Get started with Amazon Managed Workflows for Apache Airflow (https://docs.aws.amazon.com/mwaa/latest/userguide/get-started.html). =head2 LoggingConfiguration => L Defines the Apache Airflow logs to send to CloudWatch Logs: C, C, C, C, C. =head2 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 C field. For example, C<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 C. =head2 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 C 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 C field. For example, C<2>. =head2 B Name => Str The name of the Amazon MWAA environment. For example, C. =head2 B NetworkConfiguration => L 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). =head2 PluginsS3ObjectVersion => Str 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). =head2 PluginsS3Path => Str The relative path to the C file on your Amazon S3 bucket. For example, C. 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). =head2 RequirementsS3ObjectVersion => Str 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). =head2 RequirementsS3Path => Str The relative path to the C file on your Amazon S3 bucket. For example, C. 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). =head2 Schedulers => Int The number of Apache Airflow schedulers to run in your environment. =head2 B SourceBucketArn => Str The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, C. To learn more, see Create an Amazon S3 bucket for Amazon MWAA (https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html). =head2 Tags => L The key-value tag pairs you want to associate to your environment. For example, C<"Environment": "Staging">. To learn more, see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). =head2 WebserverAccessMode => Str The Apache Airflow I access mode. To learn more, see Apache Airflow access modes (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html). Valid values are: C<"PRIVATE_ONLY">, C<"PUBLIC_ONLY"> =head2 WeeklyMaintenanceWindowStart => Str The day and time of the week to start weekly maintenance updates of your environment in the following format: C. For example: C. You can specify a start time in 30 minute increments only. Supported input includes the following: =over =item * MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30) =back =head1 SEE ALSO This class forms part of L, documenting arguments for method CreateEnvironment in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut