public static interface UpdateEnvironmentRequest.Builder extends MwaaRequest.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateEnvironmentRequest.Builder |
airflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your
environment.
|
UpdateEnvironmentRequest.Builder |
airflowVersion(String airflowVersion)
The Apache Airflow version for your environment.
|
UpdateEnvironmentRequest.Builder |
dagS3Path(String dagS3Path)
The relative path to the DAGs folder on your Amazon S3 bucket.
|
UpdateEnvironmentRequest.Builder |
environmentClass(String environmentClass)
The environment class type.
|
UpdateEnvironmentRequest.Builder |
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services
resources in your environment.
|
default UpdateEnvironmentRequest.Builder |
loggingConfiguration(Consumer<LoggingConfigurationInput.Builder> loggingConfiguration)
The Apache Airflow log types to send to CloudWatch Logs.
|
UpdateEnvironmentRequest.Builder |
loggingConfiguration(LoggingConfigurationInput loggingConfiguration)
The Apache Airflow log types to send to CloudWatch Logs.
|
UpdateEnvironmentRequest.Builder |
maxWorkers(Integer maxWorkers)
The maximum number of workers that you want to run in your environment.
|
UpdateEnvironmentRequest.Builder |
minWorkers(Integer minWorkers)
The minimum number of workers that you want to run in your environment.
|
UpdateEnvironmentRequest.Builder |
name(String name)
The name of your Amazon MWAA environment.
|
default UpdateEnvironmentRequest.Builder |
networkConfiguration(Consumer<UpdateNetworkConfigurationInput.Builder> networkConfiguration)
The VPC networking components used to secure and enable network traffic between the Amazon Web Services
resources for your environment.
|
UpdateEnvironmentRequest.Builder |
networkConfiguration(UpdateNetworkConfigurationInput networkConfiguration)
The VPC networking components used to secure and enable network traffic between the Amazon Web Services
resources for your environment.
|
UpdateEnvironmentRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateEnvironmentRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateEnvironmentRequest.Builder |
pluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket.
|
UpdateEnvironmentRequest.Builder |
pluginsS3Path(String pluginsS3Path)
The relative path to the
plugins.zip file on your Amazon S3 bucket. |
UpdateEnvironmentRequest.Builder |
requirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket.
|
UpdateEnvironmentRequest.Builder |
requirementsS3Path(String requirementsS3Path)
The relative path to the
requirements.txt file on your Amazon S3 bucket. |
UpdateEnvironmentRequest.Builder |
schedulers(Integer schedulers)
The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
|
UpdateEnvironmentRequest.Builder |
sourceBucketArn(String sourceBucketArn)
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored.
|
UpdateEnvironmentRequest.Builder |
startupScriptS3ObjectVersion(String startupScriptS3ObjectVersion)
The version of the startup shell script in your Amazon S3 bucket.
|
UpdateEnvironmentRequest.Builder |
startupScriptS3Path(String startupScriptS3Path)
The relative path to the startup shell script in your Amazon S3 bucket.
|
UpdateEnvironmentRequest.Builder |
webserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode.
|
UpdateEnvironmentRequest.Builder |
webserverAccessMode(WebserverAccessMode webserverAccessMode)
The Apache Airflow Web server access mode.
|
UpdateEnvironmentRequest.Builder |
weeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time to start weekly
maintenance updates of your environment in the following format:
DAY:HH:MM. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateEnvironmentRequest.Builder airflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. For more information, see Apache Airflow configuration options.
airflowConfigurationOptions - A list of key-value pairs containing the Apache Airflow configuration options you want to attach to
your environment. For more information, see Apache Airflow
configuration options.UpdateEnvironmentRequest.Builder airflowVersion(String airflowVersion)
The Apache Airflow version for your environment. If no value is specified, defaults to the latest version.
Valid values: 1.10.12, 2.0.2, 2.2.2, and 2.4.3.
airflowVersion - The Apache Airflow version for your environment. If no value is specified, defaults to the latest
version. Valid values: 1.10.12, 2.0.2, 2.2.2, and
2.4.3.UpdateEnvironmentRequest.Builder dagS3Path(String dagS3Path)
The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. For more
information, see Adding or updating
DAGs.
dagS3Path - The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. For
more information, see Adding or
updating DAGs.UpdateEnvironmentRequest.Builder environmentClass(String environmentClass)
The environment class type. Valid values: mw1.small, mw1.medium,
mw1.large. For more information, see Amazon MWAA environment
class.
environmentClass - The environment class type. Valid values: mw1.small, mw1.medium,
mw1.large. For more information, see Amazon MWAA
environment class.UpdateEnvironmentRequest.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web Services
resources in your environment. For example, arn:aws:iam::123456789:role/my-execution-role. For
more information, see Amazon MWAA Execution
role.
executionRoleArn - The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access Amazon Web
Services resources in your environment. For example,
arn:aws:iam::123456789:role/my-execution-role. For more information, see Amazon MWAA Execution
role.UpdateEnvironmentRequest.Builder loggingConfiguration(LoggingConfigurationInput loggingConfiguration)
The Apache Airflow log types to send to CloudWatch Logs.
loggingConfiguration - The Apache Airflow log types to send to CloudWatch Logs.default UpdateEnvironmentRequest.Builder loggingConfiguration(Consumer<LoggingConfigurationInput.Builder> loggingConfiguration)
The Apache Airflow log types to send to CloudWatch Logs.
This is a convenience method 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)UpdateEnvironmentRequest.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 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.
maxWorkers - 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.UpdateEnvironmentRequest.Builder minWorkers(Integer 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.
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.UpdateEnvironmentRequest.Builder name(String name)
The name of your Amazon MWAA environment. For example, MyMWAAEnvironment.
name - The name of your Amazon MWAA environment. For example, MyMWAAEnvironment.UpdateEnvironmentRequest.Builder networkConfiguration(UpdateNetworkConfigurationInput networkConfiguration)
The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.
networkConfiguration - The VPC networking components used to secure and enable network traffic between the Amazon Web
Services resources for your environment. For more information, see About networking on
Amazon MWAA.default UpdateEnvironmentRequest.Builder networkConfiguration(Consumer<UpdateNetworkConfigurationInput.Builder> networkConfiguration)
The VPC networking components used to secure and enable network traffic between the Amazon Web Services resources for your environment. For more information, see About networking on Amazon MWAA.
This is a convenience method that creates an instance of theUpdateNetworkConfigurationInput.Builder
avoiding the need to create one manually via UpdateNetworkConfigurationInput.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to networkConfiguration(UpdateNetworkConfigurationInput).
networkConfiguration - a consumer that will call methods on UpdateNetworkConfigurationInput.BuildernetworkConfiguration(UpdateNetworkConfigurationInput)UpdateEnvironmentRequest.Builder pluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a
plugins.zip file is updated. For more information, see How S3 Versioning
works.
pluginsS3ObjectVersion - The version of the plugins.zip file on your Amazon S3 bucket. You must specify a version each time a
plugins.zip file is updated. For more information, see How S3
Versioning works.UpdateEnvironmentRequest.Builder pluginsS3Path(String pluginsS3Path)
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. For more information, see
Installing
custom plugins.
pluginsS3Path - 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. For more
information, see Installing custom plugins.UpdateEnvironmentRequest.Builder requirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket. You must specify a version each time a
requirements.txt file is updated. For more information, see How S3 Versioning
works.
requirementsS3ObjectVersion - The version of the requirements.txt file on your Amazon S3 bucket. You must specify a version each
time a requirements.txt file is updated. For more information, see How S3
Versioning works.UpdateEnvironmentRequest.Builder requirementsS3Path(String requirementsS3Path)
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. For more information, see Installing Python
dependencies.
requirementsS3Path - 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. For more information,
see Installing
Python dependencies.UpdateEnvironmentRequest.Builder schedulers(Integer schedulers)
The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
schedulers - The number of Apache Airflow schedulers to run in your Amazon MWAA environment.UpdateEnvironmentRequest.Builder sourceBucketArn(String sourceBucketArn)
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. For more information, see Create an Amazon S3 bucket for
Amazon MWAA.
sourceBucketArn - 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. For more information,
see Create an Amazon
S3 bucket for Amazon MWAA.UpdateEnvironmentRequest.Builder startupScriptS3ObjectVersion(String startupScriptS3ObjectVersion)
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.
startupScriptS3ObjectVersion - 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.
UpdateEnvironmentRequest.Builder startupScriptS3Path(String startupScriptS3Path)
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.
startupScriptS3Path - 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.
UpdateEnvironmentRequest.Builder webserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.
webserverAccessMode - The Apache Airflow Web server access mode. For more information, see Apache Airflow
access modes.WebserverAccessMode,
WebserverAccessModeUpdateEnvironmentRequest.Builder webserverAccessMode(WebserverAccessMode webserverAccessMode)
The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.
webserverAccessMode - The Apache Airflow Web server access mode. For more information, see Apache Airflow
access modes.WebserverAccessMode,
WebserverAccessModeUpdateEnvironmentRequest.Builder weeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time 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.
weeklyMaintenanceWindowStart - The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time 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.UpdateEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.