io.burkard.cdk.services.quicksight.cfnDataSource.ResourcePermissionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.quicksight.cfnDataSource
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ResourcePermissionProperty {
def apply(
actions: List[String],
principal: String
): software.amazon.awscdk.services.quicksight.CfnDataSource.ResourcePermissionProperty =
(new software.amazon.awscdk.services.quicksight.CfnDataSource.ResourcePermissionProperty.Builder)
.actions(actions.asJava)
.principal(principal)
.build()
}