in aws-mwaa-environment/src/main/java/software/amazon/mwaa/translator/UpdateTranslator.java [28:48]
public static UpdateEnvironmentRequest translateToUpdateRequest(final ResourceModel model) {
return UpdateEnvironmentRequest.builder()
.name(model.getName())
.executionRoleArn(model.getExecutionRoleArn())
.airflowVersion(model.getAirflowVersion())
.networkConfiguration(toApiUpdateNetworkConfiguration(model.getNetworkConfiguration()))
.sourceBucketArn(model.getSourceBucketArn())
.dagS3Path(model.getDagS3Path())
.pluginsS3Path(model.getPluginsS3Path())
.pluginsS3ObjectVersion(model.getPluginsS3ObjectVersion())
.requirementsS3Path(model.getRequirementsS3Path())
.requirementsS3ObjectVersion(model.getRequirementsS3ObjectVersion())
.airflowConfigurationOptions(toStringToStringMap(model.getAirflowConfigurationOptions()))
.environmentClass(model.getEnvironmentClass())
.maxWorkers(model.getMaxWorkers())
.minWorkers(model.getMinWorkers())
.loggingConfiguration(toApiLoggingConfiguration(model.getLoggingConfiguration()))
.weeklyMaintenanceWindowStart(model.getWeeklyMaintenanceWindowStart())
.webserverAccessMode(model.getWebserverAccessMode())
.build();
}