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

io.burkard.cdk.services.mediapackage.cfnOriginEndpoint.SpekeKeyProviderProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.mediapackage.cfnOriginEndpoint

import scala.collection.JavaConverters._

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

  def apply(
    resourceId: String,
    url: String,
    systemIds: List[String],
    roleArn: String,
    certificateArn: Option[String] = None,
    encryptionContractConfiguration: Option[software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.EncryptionContractConfigurationProperty] = None
  ): software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.SpekeKeyProviderProperty =
    (new software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.SpekeKeyProviderProperty.Builder)
      .resourceId(resourceId)
      .url(url)
      .systemIds(systemIds.asJava)
      .roleArn(roleArn)
      .certificateArn(certificateArn.orNull)
      .encryptionContractConfiguration(encryptionContractConfiguration.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy