io.burkard.cdk.services.appstream.CfnDirectoryConfig.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appstream
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDirectoryConfig {
def apply(
internalResourceId: String,
directoryName: String,
organizationalUnitDistinguishedNames: List[String],
serviceAccountCredentials: software.amazon.awscdk.services.appstream.CfnDirectoryConfig.ServiceAccountCredentialsProperty
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.appstream.CfnDirectoryConfig =
software.amazon.awscdk.services.appstream.CfnDirectoryConfig.Builder
.create(stackCtx, internalResourceId)
.directoryName(directoryName)
.organizationalUnitDistinguishedNames(organizationalUnitDistinguishedNames.asJava)
.serviceAccountCredentials(serviceAccountCredentials)
.build()
}