io.burkard.cdk.services.mediaconnect.CfnFlowEntitlement.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.mediaconnect
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnFlowEntitlement {
def apply(
internalResourceId: String,
name: String,
subscribers: List[String],
description: String,
flowArn: String,
dataTransferSubscriberFeePercent: Option[Number] = None,
encryption: Option[software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement.EncryptionProperty] = None,
entitlementStatus: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement =
software.amazon.awscdk.services.mediaconnect.CfnFlowEntitlement.Builder
.create(stackCtx, internalResourceId)
.name(name)
.subscribers(subscribers.asJava)
.description(description)
.flowArn(flowArn)
.dataTransferSubscriberFeePercent(dataTransferSubscriberFeePercent.orNull)
.encryption(encryption.orNull)
.entitlementStatus(entitlementStatus.orNull)
.build()
}