io.burkard.cdk.services.quicksight.cfnAnalysis.ResourcePermissionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.quicksight.cfnAnalysis
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.CfnAnalysis.ResourcePermissionProperty =
(new software.amazon.awscdk.services.quicksight.CfnAnalysis.ResourcePermissionProperty.Builder)
.actions(actions.asJava)
.principal(principal)
.build()
}