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

com.pulumi.awsnative.quicksight.kotlin.AnalysisArgs.kt Maven / Gradle / Ivy

@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.AnalysisArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisResourceStatus
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefinitionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefinitionArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisErrorArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisErrorArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisParametersArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisParametersArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisResourcePermissionArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisResourcePermissionArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSheetArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSourceEntityArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisSourceEntityArgsBuilder
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisValidationStrategyArgs
import com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisValidationStrategyArgsBuilder
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::Analysis Resource Type.
 * @property analysisId The ID for the analysis that you're creating. This ID displays in the URL of the analysis.
 * @property awsAccountId The ID of the AWS account where you are creating an analysis.
 * @property definition
 * @property errors 

Errors associated with the analysis.

* @property name

The descriptive name of the analysis.

* @property parameters The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values. * @property permissions A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . * @property sheets

A list of the associated sheets with the unique identifier and name of each sheet.

* @property sourceEntity A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets. * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. * @property status Status associated with the analysis. * @property tags Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. * @property themeArn

The ARN of the theme of the analysis.

* @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. */ public data class AnalysisArgs( public val analysisId: Output? = null, public val awsAccountId: Output? = null, public val definition: Output? = null, public val errors: Output>? = null, public val name: Output? = null, public val parameters: Output? = null, public val permissions: Output>? = null, public val sheets: Output>? = null, public val sourceEntity: Output? = null, public val status: Output? = null, public val tags: Output>? = null, public val themeArn: Output? = null, public val validationStrategy: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.AnalysisArgs = com.pulumi.awsnative.quicksight.AnalysisArgs.builder() .analysisId(analysisId?.applyValue({ args0 -> args0 })) .awsAccountId(awsAccountId?.applyValue({ args0 -> args0 })) .definition(definition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .errors(errors?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) })) .name(name?.applyValue({ args0 -> args0 })) .parameters(parameters?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .permissions( permissions?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .sheets(sheets?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) })) .sourceEntity(sourceEntity?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })) .tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) })) .themeArn(themeArn?.applyValue({ args0 -> args0 })) .validationStrategy( validationStrategy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }), ).build() } /** * Builder for [AnalysisArgs]. */ @PulumiTagMarker public class AnalysisArgsBuilder internal constructor() { private var analysisId: Output? = null private var awsAccountId: Output? = null private var definition: Output? = null private var errors: Output>? = null private var name: Output? = null private var parameters: Output? = null private var permissions: Output>? = null private var sheets: Output>? = null private var sourceEntity: Output? = null private var status: Output? = null private var tags: Output>? = null private var themeArn: Output? = null private var validationStrategy: Output? = null /** * @param value The ID for the analysis that you're creating. This ID displays in the URL of the analysis. */ @JvmName("dipkgcydwnlgrwca") public suspend fun analysisId(`value`: Output) { this.analysisId = value } /** * @param value The ID of the AWS account where you are creating an analysis. */ @JvmName("wbgrkimbwrsfouwl") public suspend fun awsAccountId(`value`: Output) { this.awsAccountId = value } /** * @param value */ @JvmName("yeetdhwuobjrowsb") public suspend fun definition(`value`: Output) { this.definition = value } /** * @param value

Errors associated with the analysis.

*/ @JvmName("fxjcuqnpqigfvhlc") public suspend fun errors(`value`: Output>) { this.errors = value } @JvmName("ctxjfbfcrcanysra") public suspend fun errors(vararg values: Output) { this.errors = Output.all(values.asList()) } /** * @param values

Errors associated with the analysis.

*/ @JvmName("ennfomxbdcwhkdud") public suspend fun errors(values: List>) { this.errors = Output.all(values) } /** * @param value

The descriptive name of the analysis.

*/ @JvmName("uxiagaiwudoyvykw") public suspend fun name(`value`: Output) { this.name = value } /** * @param value The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values. */ @JvmName("dxtdrqpykpicplgl") public suspend fun parameters(`value`: Output) { this.parameters = value } /** * @param value A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("weugammohngfxyli") public suspend fun permissions(`value`: Output>) { this.permissions = value } @JvmName("yjyogecabateuwkv") public suspend fun permissions(vararg values: Output) { this.permissions = Output.all(values.asList()) } /** * @param values A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("vvwawoidwpciihql") public suspend fun permissions(values: List>) { this.permissions = Output.all(values) } /** * @param value

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("sjvgetivnerrhjeu") public suspend fun sheets(`value`: Output>) { this.sheets = value } @JvmName("ispcehalnexmmfkt") public suspend fun sheets(vararg values: Output) { this.sheets = Output.all(values.asList()) } /** * @param values

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("ypaodvcijvcxelvc") public suspend fun sheets(values: List>) { this.sheets = Output.all(values) } /** * @param value A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets. * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. */ @JvmName("esbpmtqalsqcnpqi") public suspend fun sourceEntity(`value`: Output) { this.sourceEntity = value } /** * @param value Status associated with the analysis. */ @JvmName("ahuklyxtkvkiwtln") public suspend fun status(`value`: Output) { this.status = value } /** * @param value Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("jagkofikilfnimcb") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("nplnltmkpnxffpsb") public suspend fun tags(vararg values: Output) { this.tags = Output.all(values.asList()) } /** * @param values Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("itkbpqlbgwyhhyoc") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value

The ARN of the theme of the analysis.

*/ @JvmName("ohpxxmupuvlrngcg") public suspend fun themeArn(`value`: Output) { this.themeArn = value } /** * @param value 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. */ @JvmName("mfvyrhuyovticbnw") public suspend fun validationStrategy(`value`: Output) { this.validationStrategy = value } /** * @param value The ID for the analysis that you're creating. This ID displays in the URL of the analysis. */ @JvmName("fhkodkwwpyqxeeup") public suspend fun analysisId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.analysisId = mapped } /** * @param value The ID of the AWS account where you are creating an analysis. */ @JvmName("axrdvxbjhhbucllg") public suspend fun awsAccountId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.awsAccountId = mapped } /** * @param value */ @JvmName("gushypbydeefdacg") public suspend fun definition(`value`: AnalysisDefinitionArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.definition = mapped } /** * @param argument */ @JvmName("npmbdtcxyskwhatl") public suspend fun definition(argument: suspend AnalysisDefinitionArgsBuilder.() -> Unit) { val toBeMapped = AnalysisDefinitionArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.definition = mapped } /** * @param value

Errors associated with the analysis.

*/ @JvmName("bwxbjbmkgbrlgjqu") public suspend fun errors(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.errors = mapped } /** * @param argument

Errors associated with the analysis.

*/ @JvmName("fgigagfmvxpjnwcv") public suspend fun errors(argument: List Unit>) { val toBeMapped = argument.toList().map { AnalysisErrorArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.errors = mapped } /** * @param argument

Errors associated with the analysis.

*/ @JvmName("xkfdgktlstoeesvp") public suspend fun errors(vararg argument: suspend AnalysisErrorArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { AnalysisErrorArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.errors = mapped } /** * @param argument

Errors associated with the analysis.

*/ @JvmName("pspiygokenqtumrm") public suspend fun errors(argument: suspend AnalysisErrorArgsBuilder.() -> Unit) { val toBeMapped = listOf(AnalysisErrorArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.errors = mapped } /** * @param values

Errors associated with the analysis.

*/ @JvmName("bjccjxkusalfooxo") public suspend fun errors(vararg values: AnalysisErrorArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.errors = mapped } /** * @param value

The descriptive name of the analysis.

*/ @JvmName("stqagvhvrjldxvur") public suspend fun name(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values. */ @JvmName("pjqyvysjrbnyhbdy") public suspend fun parameters(`value`: AnalysisParametersArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.parameters = mapped } /** * @param argument The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values. */ @JvmName("dmybaoqvxlakxvok") public suspend fun parameters(argument: suspend AnalysisParametersArgsBuilder.() -> Unit) { val toBeMapped = AnalysisParametersArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.parameters = mapped } /** * @param value A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("fjfwhtpqfcxudeee") public suspend fun permissions(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.permissions = mapped } /** * @param argument A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("jfpaxmpvfwcyprmo") public suspend fun permissions(argument: List Unit>) { val toBeMapped = argument.toList().map { AnalysisResourcePermissionArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.permissions = mapped } /** * @param argument A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("txjspqymvlaeewne") public suspend fun permissions(vararg argument: suspend AnalysisResourcePermissionArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { AnalysisResourcePermissionArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.permissions = mapped } /** * @param argument A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("wokldlblnmtyoebf") public suspend fun permissions(argument: suspend AnalysisResourcePermissionArgsBuilder.() -> Unit) { val toBeMapped = listOf( AnalysisResourcePermissionArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.permissions = mapped } /** * @param values A structure that describes the principals and the resource-level permissions on an analysis. You can use the `Permissions` structure to grant permissions by providing a list of AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN). * To specify no permissions, omit `Permissions` . */ @JvmName("ppiicwoimqxyaawd") public suspend fun permissions(vararg values: AnalysisResourcePermissionArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.permissions = mapped } /** * @param value

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("nimkxujicxxpaphu") public suspend fun sheets(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.sheets = mapped } /** * @param argument

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("dqqwoqjcsfhgqgdu") public suspend fun sheets(argument: List Unit>) { val toBeMapped = argument.toList().map { AnalysisSheetArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.sheets = mapped } /** * @param argument

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("ibswlcatpxmedkrn") public suspend fun sheets(vararg argument: suspend AnalysisSheetArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { AnalysisSheetArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.sheets = mapped } /** * @param argument

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("sbymetpsrotduuxs") public suspend fun sheets(argument: suspend AnalysisSheetArgsBuilder.() -> Unit) { val toBeMapped = listOf(AnalysisSheetArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.sheets = mapped } /** * @param values

A list of the associated sheets with the unique identifier and name of each sheet.

*/ @JvmName("vrlnvibximmyfpgr") public suspend fun sheets(vararg values: AnalysisSheetArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.sheets = mapped } /** * @param value A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets. * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. */ @JvmName("dclsrxofeekjlkko") public suspend fun sourceEntity(`value`: AnalysisSourceEntityArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.sourceEntity = mapped } /** * @param argument A source entity to use for the analysis that you're creating. This metadata structure contains details that describe a source template and one or more datasets. * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. */ @JvmName("cdhgfrvefmidytsv") public suspend fun sourceEntity(argument: suspend AnalysisSourceEntityArgsBuilder.() -> Unit) { val toBeMapped = AnalysisSourceEntityArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.sourceEntity = mapped } /** * @param value Status associated with the analysis. */ @JvmName("jwnkhybdobnehvui") public suspend fun status(`value`: AnalysisResourceStatus?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.status = mapped } /** * @param value Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("grrgrqcqpqquocpw") public suspend fun tags(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param argument Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("ltlytnqburxyhpop") public suspend fun tags(argument: List Unit>) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("vpuonutyjmmprbid") public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.tags = mapped } /** * @param argument Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("pmtkqbxgypquqyte") public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) { val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.tags = mapped } /** * @param values Contains a map of the key-value pairs for the resource tag or tags assigned to the analysis. */ @JvmName("bhmdqipjgyvjcogs") public suspend fun tags(vararg values: TagArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param value

The ARN of the theme of the analysis.

*/ @JvmName("umlxdnxidmpgdwqk") public suspend fun themeArn(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.themeArn = mapped } /** * @param value 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. */ @JvmName("eljvkholgogjcdaq") public suspend fun validationStrategy(`value`: AnalysisValidationStrategyArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.validationStrategy = mapped } /** * @param argument 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. */ @JvmName("dnpqofokbywlorao") public suspend fun validationStrategy(argument: suspend AnalysisValidationStrategyArgsBuilder.() -> Unit) { val toBeMapped = AnalysisValidationStrategyArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.validationStrategy = mapped } internal fun build(): AnalysisArgs = AnalysisArgs( analysisId = analysisId, awsAccountId = awsAccountId, definition = definition, errors = errors, name = name, parameters = parameters, permissions = permissions, sheets = sheets, sourceEntity = sourceEntity, status = status, tags = tags, themeArn = themeArn, validationStrategy = validationStrategy, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy