Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pinpoint.kotlin
import com.pulumi.awsnative.pinpoint.InAppTemplateArgs.builder
import com.pulumi.awsnative.pinpoint.kotlin.enums.InAppTemplateLayout
import com.pulumi.awsnative.pinpoint.kotlin.inputs.InAppTemplateInAppMessageContentArgs
import com.pulumi.awsnative.pinpoint.kotlin.inputs.InAppTemplateInAppMessageContentArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::Pinpoint::InAppTemplate
* @property content An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.
* @property customConfig Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Pinpoint::InAppTemplate` for more information about the expected schema for this property.
* @property layout A string that determines the appearance of the in-app message. You can specify one of the following:
* - `BOTTOM_BANNER` – a message that appears as a banner at the bottom of the page.
* - `TOP_BANNER` – a message that appears as a banner at the top of the page.
* - `OVERLAYS` – a message that covers entire screen.
* - `MOBILE_FEED` – a message that appears in a window in front of the page.
* - `MIDDLE_BANNER` – a message that appears as a banner in the middle of the page.
* - `CAROUSEL` – a scrollable layout of up to five unique messages.
* @property tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Pinpoint::InAppTemplate` for more information about the expected schema for this property.
* @property templateDescription An optional description of the in-app template.
* @property templateName The name of the in-app message template.
*/
public data class InAppTemplateArgs(
public val content: Output>? = null,
public val customConfig: Output? = null,
public val layout: Output? = null,
public val tags: Output? = null,
public val templateDescription: Output? = null,
public val templateName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pinpoint.InAppTemplateArgs =
com.pulumi.awsnative.pinpoint.InAppTemplateArgs.builder()
.content(
content?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.customConfig(customConfig?.applyValue({ args0 -> args0 }))
.layout(layout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0 }))
.templateDescription(templateDescription?.applyValue({ args0 -> args0 }))
.templateName(templateName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InAppTemplateArgs].
*/
@PulumiTagMarker
public class InAppTemplateArgsBuilder internal constructor() {
private var content: Output>? = null
private var customConfig: Output? = null
private var layout: Output? = null
private var tags: Output? = null
private var templateDescription: Output? = null
private var templateName: Output? = null
/**
* @param value An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.
*/
@JvmName("makcvghxsrjnjjym")
public suspend fun content(`value`: Output>) {
this.content = value
}
@JvmName("ugxklktishpypawp")
public suspend fun content(vararg values: Output) {
this.content = Output.all(values.asList())
}
/**
* @param values An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.
*/
@JvmName("fkwosouxwimbsnvi")
public suspend fun content(values: List