import { Value } from '../../cloudformation/Value';
import { LoggingConfigurationProps } from './environment/LoggingConfigurationProps';
import { NetworkConfigurationProps } from './environment/NetworkConfigurationProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type EnvironmentAttributes = {
    LoggingConfiguration_TaskLogs_CloudWatchLogGroupArn: Attribute<string>;
    LoggingConfiguration_WebserverLogs_CloudWatchLogGroupArn: Attribute<string>;
    LoggingConfiguration_DagProcessingLogs_CloudWatchLogGroupArn: Attribute<string>;
    WebserverUrl: Attribute<string>;
    LoggingConfiguration_SchedulerLogs_CloudWatchLogGroupArn: Attribute<string>;
    Arn: Attribute<string>;
    LoggingConfiguration_WorkerLogs_CloudWatchLogGroupArn: Attribute<string>;
};
export type Environment = AwsResource<'AWS::MWAA::Environment', EnvironmentProperties, EnvironmentAttributes>;
/**
  The <code>AWS::MWAA::Environment</code> resource creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html">the AWS Docs</a>
*/
export declare function environment(environmentProps: EnvironmentProperties): Environment;
/**
  The <code>AWS::MWAA::Environment</code> resource creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mwaa-environment.html">the AWS Docs</a>
*/
export interface EnvironmentProperties {
    /** <code>AirflowConfigurationOptions</code>  <a name="cfn-mwaa-environment-airflowconfigurationoptions"></a>
  A list of key-value pairs containing the Airflow configuration options for your environment. For example, <code>core.default_timezone: utc</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html">Apache Airflow configuration options</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    airflowConfigurationOptions?: Value<any>;
    /** <code>MaxWorkers</code>  <a name="cfn-mwaa-environment-maxworkers"></a>
  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 <code>MaxWorkers</code> field. For example, <code>20</code>. 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 <code>MinWorkers</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    maxWorkers?: Value<number>;
    /** <code>EnvironmentClass</code>  <a name="cfn-mwaa-environment-environmentclass"></a>
  The environment class type. Valid values: <code>mw1.small</code>, <code>mw1.medium</code>, <code>mw1.large</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/environment-class.html">Amazon MWAA environment class</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    environmentClass?: Value<string>;
    /** <p> */
    schedulers?: Value<number>;
    /** <code>RequirementsS3Path</code>  <a name="cfn-mwaa-environment-requirementss3path"></a>
  The relative path to the <code>requirements.txt</code> file on your Amazon S3 bucket. For example, <code>requirements.txt</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    requirementsS3Path?: Value<string>;
    /** <code>PluginsS3Path</code>  <a name="cfn-mwaa-environment-pluginss3path"></a>
  The relative path to the <code>plugins.zip</code> file on your Amazon S3 bucket. For example, <code>plugins.zip</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    pluginsS3Path?: Value<string>;
    /** <code>MinWorkers</code>  <a name="cfn-mwaa-environment-minworkers"></a>
  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 <code>MaxWorkers</code> 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 <code>MinWorkers</code> field. For example, <code>2</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    minWorkers?: Value<number>;
    /** <code>AirflowVersion</code>  <a name="cfn-mwaa-environment-airflowversion"></a>
  The version of Apache Airflow to use for the environment. If no value is specified, defaults to the latest version.<br />
  If you specify a newer version number for an existing environment, the version update requires some service interruption before taking effect.<br />
  
  Allowed Values: <code>2.0.2</code> | <code>1.10.12</code> | <code>2.2.2</code> | <code>2.4.3</code> | <code>2.5.1</code> | <code>2.6.3</code> (latest)<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    airflowVersion?: Value<string>;
    /** <code>StartupScriptS3Path</code>  <a name="cfn-mwaa-environment-startupscripts3path"></a>
  The relative path to the startup shell script in your Amazon S3 bucket. For example, <code>s3://mwaa-environment/startup.sh</code>.<br />
  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 <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    startupScriptS3Path?: Value<string>;
    /** <code>Name</code>  <a name="cfn-mwaa-environment-name"></a>
  The name of your Amazon MWAA environment.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name: Value<string>;
    /** <code>RequirementsS3ObjectVersion</code>  <a name="cfn-mwaa-environment-requirementss3objectversion"></a>
  The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/working-dags-dependencies.html">Installing Python dependencies</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    requirementsS3ObjectVersion?: Value<string>;
    /** <code>SourceBucketArn</code>  <a name="cfn-mwaa-environment-sourcebucketarn"></a>
  The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For example, <code>arn:aws:s3:::my-airflow-bucket-unique-name</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-s3-bucket.html">Create an Amazon S3 bucket for Amazon MWAA</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    sourceBucketArn?: Value<string>;
    /** <code>ExecutionRoleArn</code>  <a name="cfn-mwaa-environment-executionrolearn"></a>
  The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your environment. For example, <code>arn:aws:iam::123456789:role/my-execution-role</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-create-role.html">Amazon MWAA Execution role</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    executionRoleArn?: Value<string>;
    /** <p> */
    weeklyMaintenanceWindowStart?: Value<string>;
    /** <code>PluginsS3ObjectVersion</code>  <a name="cfn-mwaa-environment-pluginss3objectversion"></a>
  The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-import-plugins.html">Installing custom plugins</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    pluginsS3ObjectVersion?: Value<string>;
    /** <code>StartupScriptS3ObjectVersion</code>  <a name="cfn-mwaa-environment-startupscripts3objectversion"></a>
  The version of the startup shell script in your Amazon S3 bucket. You must specify the <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/versioning-workflows.html">version ID</a> that Amazon S3 assigns to the file every time you update the script.<br />
  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:<br />
  <code>3sL4kqtJlcpXroDTDmJ+rmSpXd3dIbrHY+MTRCxf3vjVBH40Nr8X8gdRQBpUMLUo</code><br />
  For more information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/using-startup-script.html">Using a startup script</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    startupScriptS3ObjectVersion?: Value<string>;
    /** <code>DagS3Path</code>  <a name="cfn-mwaa-environment-dags3path"></a>
  The relative path to the DAGs folder on your Amazon S3 bucket. For example, <code>dags</code>. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-dag-folder.html">Adding or updating DAGs</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    dagS3Path?: Value<string>;
    /** <code>LoggingConfiguration</code>  <a name="cfn-mwaa-environment-loggingconfiguration"></a>
  The Apache Airflow logs being sent to CloudWatch Logs: <code>DagProcessingLogs</code>, <code>SchedulerLogs</code>, <code>TaskLogs</code>, <code>WebserverLogs</code>, <code>WorkerLogs</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    loggingConfiguration?: LoggingConfigurationProps;
    /** <code>WebserverAccessMode</code>  <a name="cfn-mwaa-environment-webserveraccessmode"></a>
  The Apache Airflow
  Web server: ccess mode. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-networking.html">Apache Airflow access modes</a>. Valid values: <code>PRIVATE_ONLY</code> or <code>PUBLIC_ONLY</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    webserverAccessMode?: Value<string>;
    /** <code>NetworkConfiguration</code>  <a name="cfn-mwaa-environment-networkconfiguration"></a>
  The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/networking-about.html">About networking on Amazon MWAA</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    networkConfiguration?: NetworkConfigurationProps;
    /** <code>KmsKey</code>  <a name="cfn-mwaa-environment-kmskey"></a>
  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).<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    kmsKey?: Value<string>;
    /** <code>Tags</code>  <a name="cfn-mwaa-environment-tags"></a>
  The key-value tag pairs associated to your environment. For example, <code>&quot;Environment&quot;: &quot;Staging&quot;</code>. To learn more, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging</a>.<br />
  If you specify new tags for an existing environment, the update requires service interruption before taking effect.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-some-interrupt">Some interruptions</a> */
    tags?: Value<any>;
}
