io.burkard.cdk.services.redshift.CfnEndpointAuthorizationProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.redshift
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnEndpointAuthorizationProps {
def apply(
account: String,
clusterIdentifier: String,
force: Option[Boolean] = None,
vpcIds: Option[List[String]] = None
): software.amazon.awscdk.services.redshift.CfnEndpointAuthorizationProps =
(new software.amazon.awscdk.services.redshift.CfnEndpointAuthorizationProps.Builder)
.account(account)
.clusterIdentifier(clusterIdentifier)
.force(force.map(Boolean.box).orNull)
.vpcIds(vpcIds.map(_.asJava).orNull)
.build()
}