public static interface CreateEnvironmentRequest.Builder extends MwaaRequest.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentRequest.Builder,CreateEnvironmentRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateEnvironmentRequest.Builder |
airflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
The Apache Airflow configuration setting you want to override in your environment.
|
CreateEnvironmentRequest.Builder |
airflowVersion(String airflowVersion)
The Apache Airflow version you want to use for your environment.
|
CreateEnvironmentRequest.Builder |
dagS3Path(String dagS3Path)
The relative path to the DAG folder on your Amazon S3 storage bucket.
|
CreateEnvironmentRequest.Builder |
environmentClass(String environmentClass)
The environment class you want to use for your environment.
|
CreateEnvironmentRequest.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the execution role for your environment.
|
CreateEnvironmentRequest.Builder |
kmsKey(String kmsKey)
The AWS Key Management Service (KMS) key to encrypt and decrypt the data in your environment.
|
default CreateEnvironmentRequest.Builder |
loggingConfiguration(Consumer<LoggingConfigurationInput.Builder> loggingConfiguration)
The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
|
CreateEnvironmentRequest.Builder |
loggingConfiguration(LoggingConfigurationInput loggingConfiguration)
The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
|
CreateEnvironmentRequest.Builder |
maxWorkers(Integer maxWorkers)
The maximum number of workers that you want to run in your environment.
|
CreateEnvironmentRequest.Builder |
name(String name)
The name of your MWAA environment.
|
default CreateEnvironmentRequest.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The VPC networking components you want to use for your environment.
|
CreateEnvironmentRequest.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
The VPC networking components you want to use for your environment.
|
CreateEnvironmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateEnvironmentRequest.Builder |
pluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The
plugins.zip file version you want to use. |
CreateEnvironmentRequest.Builder |
pluginsS3Path(String pluginsS3Path)
The relative path to the
plugins.zip file on your Amazon S3 storage bucket. |
CreateEnvironmentRequest.Builder |
requirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The
requirements.txt file version you want to use. |
CreateEnvironmentRequest.Builder |
requirementsS3Path(String requirementsS3Path)
The relative path to the
requirements.txt file on your Amazon S3 storage bucket. |
CreateEnvironmentRequest.Builder |
sourceBucketArn(String sourceBucketArn)
The Amazon Resource Name (ARN) of your Amazon S3 storage bucket.
|
CreateEnvironmentRequest.Builder |
tags(Map<String,String> tags)
The metadata tags you want to attach to your environment.
|
CreateEnvironmentRequest.Builder |
webserverAccessMode(String webserverAccessMode)
The networking access of your Apache Airflow web server.
|
CreateEnvironmentRequest.Builder |
webserverAccessMode(WebserverAccessMode webserverAccessMode)
The networking access of your Apache Airflow web server.
|
CreateEnvironmentRequest.Builder |
weeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time you want MWAA to start weekly maintenance updates on your environment.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateEnvironmentRequest.Builder airflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
The Apache Airflow configuration setting you want to override in your environment. For more information, see Environment configuration.
airflowConfigurationOptions - The Apache Airflow configuration setting you want to override in your environment. For more
information, see Environment
configuration.CreateEnvironmentRequest.Builder airflowVersion(String airflowVersion)
The Apache Airflow version you want to use for your environment.
airflowVersion - The Apache Airflow version you want to use for your environment.CreateEnvironmentRequest.Builder dagS3Path(String dagS3Path)
The relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For
more information, see Importing DAGs on Amazon
MWAA.
dagS3Path - The relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags.
For more information, see Importing DAGs on
Amazon MWAA.CreateEnvironmentRequest.Builder environmentClass(String environmentClass)
The environment class you want to use for your environment. The environment class determines the size of the containers and database used for your Apache Airflow services.
environmentClass - The environment class you want to use for your environment. The environment class determines the size
of the containers and database used for your Apache Airflow services.CreateEnvironmentRequest.Builder executionRoleArn(String executionRoleArn)
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, arn:aws:iam::123456789:role/my-execution-role. For more
information, see Managing
access to Amazon Managed Workflows for Apache Airflow.
executionRoleArn - 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,
arn:aws:iam::123456789:role/my-execution-role. For more information, see Managing access to Amazon
Managed Workflows for Apache Airflow.CreateEnvironmentRequest.Builder kmsKey(String kmsKey)
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 custom KMS key (advanced). For more information, see Customer master keys (CMKs) in the AWS KMS developer guide.
kmsKey - 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 custom KMS key (advanced). For more information, see Customer master keys (CMKs) in the AWS KMS developer guide.CreateEnvironmentRequest.Builder loggingConfiguration(LoggingConfigurationInput loggingConfiguration)
The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
loggingConfiguration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.default CreateEnvironmentRequest.Builder loggingConfiguration(Consumer<LoggingConfigurationInput.Builder> loggingConfiguration)
The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
This is a convenience that creates an instance of theLoggingConfigurationInput.Builder avoiding the
need to create one manually via LoggingConfigurationInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to loggingConfiguration(LoggingConfigurationInput).loggingConfiguration - a consumer that will call methods on LoggingConfigurationInput.BuilderloggingConfiguration(LoggingConfigurationInput)CreateEnvironmentRequest.Builder maxWorkers(Integer maxWorkers)
The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra containers leaving the one worker that is included with your environment.
maxWorkers - The maximum number of workers that you want to run in your environment. MWAA scales the number of
Apache Airflow workers and the Fargate containers that run your tasks up to the number you specify in
this field. When there are no more tasks running, and no more in the queue, MWAA disposes of the extra
containers leaving the one worker that is included with your environment.CreateEnvironmentRequest.Builder name(String name)
The name of your MWAA environment.
name - The name of your MWAA environment.CreateEnvironmentRequest.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
The VPC networking components you want to use for your environment. At least two private subnet identifiers and one VPC security group identifier are required to create an environment. For more information, see Creating the VPC network for a MWAA environment.
networkConfiguration - The VPC networking components you want to use for your environment. At least two private subnet
identifiers and one VPC security group identifier are required to create an environment. For more
information, see Creating
the VPC network for a MWAA environment.default CreateEnvironmentRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
The VPC networking components you want to use for your environment. At least two private subnet identifiers and one VPC security group identifier are required to create an environment. For more information, see Creating the VPC network for a MWAA environment.
This is a convenience that creates an instance of theNetworkConfiguration.Builder avoiding the need
to create one manually via NetworkConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration).networkConfiguration - a consumer that will call methods on NetworkConfiguration.BuildernetworkConfiguration(NetworkConfiguration)CreateEnvironmentRequest.Builder pluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The plugins.zip file version you want to use.
pluginsS3ObjectVersion - The plugins.zip file version you want to use.CreateEnvironmentRequest.Builder pluginsS3Path(String pluginsS3Path)
The relative path to the plugins.zip file on your Amazon S3 storage bucket. For example,
plugins.zip. If a relative path is provided in the request, then
PluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon
MWAA.
pluginsS3Path - The relative path to the plugins.zip file on your Amazon S3 storage bucket. For example,
plugins.zip. If a relative path is provided in the request, then
PluginsS3ObjectVersion is required. For more information, see Importing DAGs on
Amazon MWAA.CreateEnvironmentRequest.Builder requirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The requirements.txt file version you want to use.
requirementsS3ObjectVersion - The requirements.txt file version you want to use.CreateEnvironmentRequest.Builder requirementsS3Path(String requirementsS3Path)
The relative path to the requirements.txt file on your Amazon S3 storage bucket. For example,
requirements.txt. If a relative path is provided in the request, then
RequirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon
MWAA.
requirementsS3Path - The relative path to the requirements.txt file on your Amazon S3 storage bucket. For
example, requirements.txt. If a relative path is provided in the request, then
RequirementsS3ObjectVersion is required. For more information, see Importing DAGs on
Amazon MWAA.CreateEnvironmentRequest.Builder sourceBucketArn(String sourceBucketArn)
The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example,
arn:aws:s3:::airflow-mybucketname.
sourceBucketArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example,
arn:aws:s3:::airflow-mybucketname.CreateEnvironmentRequest.Builder tags(Map<String,String> tags)
The metadata tags you want to attach to your environment. For more information, see Tagging AWS resources.
tags - The metadata tags you want to attach to your environment. For more information, see Tagging AWS resources.CreateEnvironmentRequest.Builder webserverAccessMode(String webserverAccessMode)
The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be accessed over the Internet by users granted access in your IAM policy. A private network limits access of your Airflow UI to users within your VPC. For more information, see Creating the VPC network for a MWAA environment.
webserverAccessMode - The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be
accessed over the Internet by users granted access in your IAM policy. A private network limits access
of your Airflow UI to users within your VPC. For more information, see Creating the VPC network for a
MWAA environment.WebserverAccessMode,
WebserverAccessModeCreateEnvironmentRequest.Builder webserverAccessMode(WebserverAccessMode webserverAccessMode)
The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be accessed over the Internet by users granted access in your IAM policy. A private network limits access of your Airflow UI to users within your VPC. For more information, see Creating the VPC network for a MWAA environment.
webserverAccessMode - The networking access of your Apache Airflow web server. A public network allows your Airflow UI to be
accessed over the Internet by users granted access in your IAM policy. A private network limits access
of your Airflow UI to users within your VPC. For more information, see Creating the VPC network for a
MWAA environment.WebserverAccessMode,
WebserverAccessModeCreateEnvironmentRequest.Builder weeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time you want MWAA to start weekly maintenance updates on your environment.
weeklyMaintenanceWindowStart - The day and time you want MWAA to start weekly maintenance updates on your environment.CreateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.