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.quicksight.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.quicksight.TemplateArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateResourcePermissionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateResourcePermissionArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSourceEntityArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateSourceEntityArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateValidationStrategyArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateValidationStrategyArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateVersionDefinitionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateVersionDefinitionArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of the AWS::QuickSight::Template Resource Type.
* @property awsAccountId The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account.
* @property definition
* @property name A display name for the template.
* @property permissions A list of resource permissions to be set on the template.
* @property sourceEntity The entity that you are using as a source when you create the template. In `SourceEntity` , you specify the type of object you're using as source: `SourceTemplate` for a template or `SourceAnalysis` for an analysis. Both of these require an Amazon Resource Name (ARN). For `SourceTemplate` , specify the ARN of the source template. For `SourceAnalysis` , specify the ARN of the source analysis. The `SourceTemplate` ARN can contain any AWS account and any Amazon QuickSight-supported AWS Region .
* Use the `DataSetReferences` entity within `SourceTemplate` or `SourceAnalysis` to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
* Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid.
* @property tags Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
* @property templateId An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account.
* @property validationStrategy The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to `LENIENT` , validation is skipped for specific errors.
* @property versionDescription A description of the current template version being created. This API operation creates the first version of the template. Every time `UpdateTemplate` is called, a new version is created. Each version of the template maintains a description of the version in the `VersionDescription` field.
*/
public data class TemplateArgs(
public val awsAccountId: Output? = null,
public val definition: Output? = null,
public val name: Output? = null,
public val permissions: Output>? = null,
public val sourceEntity: Output? = null,
public val tags: Output>? = null,
public val templateId: Output? = null,
public val validationStrategy: Output? = null,
public val versionDescription: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.TemplateArgs =
com.pulumi.awsnative.quicksight.TemplateArgs.builder()
.awsAccountId(awsAccountId?.applyValue({ args0 -> args0 }))
.definition(definition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.permissions(
permissions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.sourceEntity(sourceEntity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.templateId(templateId?.applyValue({ args0 -> args0 }))
.validationStrategy(
validationStrategy?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.versionDescription(versionDescription?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TemplateArgs].
*/
@PulumiTagMarker
public class TemplateArgsBuilder internal constructor() {
private var awsAccountId: Output? = null
private var definition: Output? = null
private var name: Output? = null
private var permissions: Output>? = null
private var sourceEntity: Output? = null
private var tags: Output>? = null
private var templateId: Output? = null
private var validationStrategy: Output? = null
private var versionDescription: Output? = null
/**
* @param value The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account.
*/
@JvmName("jeactsbttfbxtfsa")
public suspend fun awsAccountId(`value`: Output) {
this.awsAccountId = value
}
/**
* @param value
*/
@JvmName("bmotgxhibgfavkhn")
public suspend fun definition(`value`: Output) {
this.definition = value
}
/**
* @param value A display name for the template.
*/
@JvmName("ohrngfgmbabtdyhm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A list of resource permissions to be set on the template.
*/
@JvmName("vfbgapckojiwvurv")
public suspend fun permissions(`value`: Output>) {
this.permissions = value
}
@JvmName("bmpeeywcshxgwfsa")
public suspend fun permissions(vararg values: Output) {
this.permissions = Output.all(values.asList())
}
/**
* @param values A list of resource permissions to be set on the template.
*/
@JvmName("ooeuoisfykxgatkb")
public suspend fun permissions(values: List