All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.medialive.CfnChannel.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.medialive

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnChannel {

  def apply(
    internalResourceId: String,
    inputAttachments: Option[List[_]] = None,
    name: Option[String] = None,
    tags: Option[AnyRef] = None,
    cdiInputSpecification: Option[software.amazon.awscdk.services.medialive.CfnChannel.CdiInputSpecificationProperty] = None,
    encoderSettings: Option[software.amazon.awscdk.services.medialive.CfnChannel.EncoderSettingsProperty] = None,
    channelClass: Option[String] = None,
    roleArn: Option[String] = None,
    vpc: Option[software.amazon.awscdk.services.medialive.CfnChannel.VpcOutputSettingsProperty] = None,
    destinations: Option[List[_]] = None,
    inputSpecification: Option[software.amazon.awscdk.services.medialive.CfnChannel.InputSpecificationProperty] = None,
    logLevel: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.medialive.CfnChannel =
    software.amazon.awscdk.services.medialive.CfnChannel.Builder
      .create(stackCtx, internalResourceId)
      .inputAttachments(inputAttachments.map(_.asJava).orNull)
      .name(name.orNull)
      .tags(tags.orNull)
      .cdiInputSpecification(cdiInputSpecification.orNull)
      .encoderSettings(encoderSettings.orNull)
      .channelClass(channelClass.orNull)
      .roleArn(roleArn.orNull)
      .vpc(vpc.orNull)
      .destinations(destinations.map(_.asJava).orNull)
      .inputSpecification(inputSpecification.orNull)
      .logLevel(logLevel.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy