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.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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