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

io.burkard.cdk.services.pinpoint.CfnAPNSVoipChannel.scala Maven / Gradle / Ivy

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

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAPNSVoipChannel {

  def apply(
    internalResourceId: String,
    applicationId: String,
    tokenKeyId: Option[String] = None,
    bundleId: Option[String] = None,
    certificate: Option[String] = None,
    teamId: Option[String] = None,
    enabled: Option[Boolean] = None,
    tokenKey: Option[String] = None,
    privateKey: Option[String] = None,
    defaultAuthenticationMethod: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.pinpoint.CfnAPNSVoipChannel =
    software.amazon.awscdk.services.pinpoint.CfnAPNSVoipChannel.Builder
      .create(stackCtx, internalResourceId)
      .applicationId(applicationId)
      .tokenKeyId(tokenKeyId.orNull)
      .bundleId(bundleId.orNull)
      .certificate(certificate.orNull)
      .teamId(teamId.orNull)
      .enabled(enabled.map(Boolean.box).orNull)
      .tokenKey(tokenKey.orNull)
      .privateKey(privateKey.orNull)
      .defaultAuthenticationMethod(defaultAuthenticationMethod.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy