Analysis

class Analysis : KotlinCustomResource

Resource for managing a QuickSight Analysis.

Example Usage

From Source Template

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.Analysis;
import com.pulumi.aws.quicksight.AnalysisArgs;
import com.pulumi.aws.quicksight.inputs.AnalysisSourceEntityArgs;
import com.pulumi.aws.quicksight.inputs.AnalysisSourceEntitySourceTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Analysis("example", AnalysisArgs.builder()
.analysisId("example-id")
.sourceEntity(AnalysisSourceEntityArgs.builder()
.sourceTemplate(AnalysisSourceEntitySourceTemplateArgs.builder()
.arn(aws_quicksight_template.source().arn())
.dataSetReferences(AnalysisSourceEntitySourceTemplateDataSetReferenceArgs.builder()
.dataSetArn(aws_quicksight_data_set.dataset().arn())
.dataSetPlaceholder("1")
.build())
.build())
.build())
.build());
}
}

With Definition

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.Analysis;
import com.pulumi.aws.quicksight.AnalysisArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Analysis("example", AnalysisArgs.builder()
.analysisId("example-id")
.definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}

Import

Using pulumi import, import a QuickSight Analysis using the AWS account ID and analysis ID separated by a comma (,). For example:

$ pulumi import aws:quicksight/analysis:Analysis example 123456789012,example-id

Properties

Link copied to clipboard
val analysisId: Output<String>

Identifier for the analysis.

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the resource.

Link copied to clipboard
val awsAccountId: Output<String>

AWS account ID.

Link copied to clipboard
val createdTime: Output<String>

The time that the analysis was created.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
val lastUpdatedTime: Output<String>

The time that the analysis was last updated.

Link copied to clipboard
val name: Output<String>

Display name for the analysis. The following arguments are optional:

Link copied to clipboard

The parameters for the creation of the analysis, which you want to use to override the default settings. An analysis can have any type of parameters, and some parameters might accept multiple values. See parameters.

Link copied to clipboard

A set of resource permissions on the analysis. Maximum of 64 items. See permissions.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. Use 0 to force deletion without recovery. Minimum value of 7. Maximum value of 30. Default to 30.

Link copied to clipboard

The entity that you are using as a source when you create the analysis (template). Only one of definition or source_entity should be configured. See source_entity.

Link copied to clipboard
val status: Output<String>

The analysis creation status.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val themeArn: Output<String>?

The Amazon Resource Name (ARN) of the theme that is being used for this analysis. The theme ARN must exist in the same AWS account where you create the analysis.

Link copied to clipboard
val urn: Output<String>