io.burkard.cdk.services.mwaa.CfnEnvironmentProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.mwaa
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnEnvironmentProps {
def apply(
name: String,
pluginsS3Path: Option[String] = None,
kmsKey: Option[String] = None,
loggingConfiguration: Option[software.amazon.awscdk.services.mwaa.CfnEnvironment.LoggingConfigurationProperty] = None,
minWorkers: Option[Number] = None,
sourceBucketArn: Option[String] = None,
networkConfiguration: Option[software.amazon.awscdk.services.mwaa.CfnEnvironment.NetworkConfigurationProperty] = None,
maxWorkers: Option[Number] = None,
tags: Option[AnyRef] = None,
weeklyMaintenanceWindowStart: Option[String] = None,
pluginsS3ObjectVersion: Option[String] = None,
airflowConfigurationOptions: Option[AnyRef] = None,
requirementsS3ObjectVersion: Option[String] = None,
airflowVersion: Option[String] = None,
requirementsS3Path: Option[String] = None,
webserverAccessMode: Option[String] = None,
schedulers: Option[Number] = None,
environmentClass: Option[String] = None,
executionRoleArn: Option[String] = None,
dagS3Path: Option[String] = None
): software.amazon.awscdk.services.mwaa.CfnEnvironmentProps =
(new software.amazon.awscdk.services.mwaa.CfnEnvironmentProps.Builder)
.name(name)
.pluginsS3Path(pluginsS3Path.orNull)
.kmsKey(kmsKey.orNull)
.loggingConfiguration(loggingConfiguration.orNull)
.minWorkers(minWorkers.orNull)
.sourceBucketArn(sourceBucketArn.orNull)
.networkConfiguration(networkConfiguration.orNull)
.maxWorkers(maxWorkers.orNull)
.tags(tags.orNull)
.weeklyMaintenanceWindowStart(weeklyMaintenanceWindowStart.orNull)
.pluginsS3ObjectVersion(pluginsS3ObjectVersion.orNull)
.airflowConfigurationOptions(airflowConfigurationOptions.orNull)
.requirementsS3ObjectVersion(requirementsS3ObjectVersion.orNull)
.airflowVersion(airflowVersion.orNull)
.requirementsS3Path(requirementsS3Path.orNull)
.webserverAccessMode(webserverAccessMode.orNull)
.schedulers(schedulers.orNull)
.environmentClass(environmentClass.orNull)
.executionRoleArn(executionRoleArn.orNull)
.dagS3Path(dagS3Path.orNull)
.build()
}