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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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("tiqaesbcgctpvnpw") public suspend fun analysisId(`value`: Output) { this.analysisId = value } /** * @param value The ID of the AWS account where you are creating an analysis. */ @JvmName("dfyjwyejuyeuduen") public suspend fun awsAccountId(`value`: Output) { this.awsAccountId = value } /** * @param value */ @JvmName("gywahqulomlfldpy") public suspend fun definition(`value`: Output) { this.definition = value } /** * @param value

Errors associated with the analysis.

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

Errors associated with the analysis.

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

The descriptive name of the analysis.

*/ @JvmName("imbwdrtbptkwsflf") 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("osninfhfqcwyfjfh") 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("ivoxvqvcnfflrlwo") public suspend fun permissions(`value`: Output>) { this.permissions = value } @JvmName("veugywgjllnrfmfi") 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("jdjiyyylcnsguvpo") 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("nambjwhxstpvnfey") public suspend fun sheets(`value`: Output>) { this.sheets = value } @JvmName("dnagdokvgyaksujv") 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("kwwrnyocbwvdvbfa") 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("dtvxnpnktiuowhvy") public suspend fun sourceEntity(`value`: Output) { this.sourceEntity = value } /** * @param value Status associated with the analysis. */ @JvmName("xjbamxegopqmeklw") 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("pqdlbmdatedftaqk") public suspend fun tags(`value`: Output>) { this.tags = value } @JvmName("pnyhkniqvocacarp") 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("gksinstehhefwlwd") public suspend fun tags(values: List>) { this.tags = Output.all(values) } /** * @param value

The ARN of the theme of the analysis.

*/ @JvmName("bpcdpdrbjcexbtmf") 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("xgfbvogbkbhfpqqy") 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("ehpfphlbxjdqybmw") 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("jwrfnxmyxeqrtvje") public suspend fun awsAccountId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.awsAccountId = mapped } /** * @param value */ @JvmName("kjhhhnbfbfhjitub") public suspend fun definition(`value`: AnalysisDefinitionArgs?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.definition = mapped } /** * @param argument */ @JvmName("fyryadhulvfineqw") 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("exssjuykgjehnaax") 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("olqmodojmltpvoum") 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("gomwenmtuefumdnv") 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("pwpahofsobgdmefr") 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("xybxrqpmqvysyysh") 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("qunsffdioodagxnc") 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("lvwsidefojmwgduw") 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("etiigitofctvceix") 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("ddjtexxjkrlhhdyo") 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("beovwuvpjlxebywn") 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("vrogpokdwwwvklwm") 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("kniyedrptmrejfkb") 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("oqfyjbfgwrarklys") 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("ribnoygghjmegqhg") 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("qgybcjmwsrawikil") 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("yflcmiaehxogbvna") 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("khtbbackxfvfmmqq") 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("otmqgsnuyjccpnoe") 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("lhveacdsqrsxmovc") 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("wwphuqgmmrywwykl") 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("uqguiobvoxjsesci") 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("iclhxiuhdemmfkhj") 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("iengxaaiwekbiues") 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("vwrfxneyqxasiwnu") 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("mtviorxpvuvdukuj") 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("hymusrxiokavibfh") 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("cxwamowanydqhxoq") 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("ijoyfcwapucdmiqs") 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("maeqaxuxkxomxuxt") 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 - 2024 Weber Informatics LLC | Privacy Policy