io.burkard.cdk.services.pinpoint.CfnAPNSChannel.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 CfnAPNSChannel {
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.CfnAPNSChannel =
software.amazon.awscdk.services.pinpoint.CfnAPNSChannel.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()
}