io.burkard.cdk.services.pinpoint.CfnPushTemplate.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 CfnPushTemplate {
def apply(
internalResourceId: String,
templateName: String,
templateDescription: Option[String] = None,
defaultSubstitutions: Option[String] = None,
tags: Option[AnyRef] = None,
apns: Option[software.amazon.awscdk.services.pinpoint.CfnPushTemplate.APNSPushNotificationTemplateProperty] = None,
adm: Option[software.amazon.awscdk.services.pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty] = None,
gcm: Option[software.amazon.awscdk.services.pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty] = None,
baidu: Option[software.amazon.awscdk.services.pinpoint.CfnPushTemplate.AndroidPushNotificationTemplateProperty] = None,
defaultValue: Option[software.amazon.awscdk.services.pinpoint.CfnPushTemplate.DefaultPushNotificationTemplateProperty] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.pinpoint.CfnPushTemplate =
software.amazon.awscdk.services.pinpoint.CfnPushTemplate.Builder
.create(stackCtx, internalResourceId)
.templateName(templateName)
.templateDescription(templateDescription.orNull)
.defaultSubstitutions(defaultSubstitutions.orNull)
.tags(tags.orNull)
.apns(apns.orNull)
.adm(adm.orNull)
.gcm(gcm.orNull)
.baidu(baidu.orNull)
.defaultValue(defaultValue.orNull)
.build()
}