aws.quicksight.Analysis
Explore with Pulumi AI
Resource for managing a QuickSight Analysis.
Example Usage
From Source Template
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.quicksight.Analysis("example", {
analysisId: "example-id",
name: "example-name",
sourceEntity: {
sourceTemplate: {
arn: source.arn,
dataSetReferences: [{
dataSetArn: dataset.arn,
dataSetPlaceholder: "1",
}],
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.quicksight.Analysis("example",
analysis_id="example-id",
name="example-name",
source_entity={
"source_template": {
"arn": source["arn"],
"data_set_references": [{
"data_set_arn": dataset["arn"],
"data_set_placeholder": "1",
}],
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := quicksight.NewAnalysis(ctx, "example", &quicksight.AnalysisArgs{
AnalysisId: pulumi.String("example-id"),
Name: pulumi.String("example-name"),
SourceEntity: &quicksight.AnalysisSourceEntityArgs{
SourceTemplate: &quicksight.AnalysisSourceEntitySourceTemplateArgs{
Arn: pulumi.Any(source.Arn),
DataSetReferences: quicksight.AnalysisSourceEntitySourceTemplateDataSetReferenceArray{
&quicksight.AnalysisSourceEntitySourceTemplateDataSetReferenceArgs{
DataSetArn: pulumi.Any(dataset.Arn),
DataSetPlaceholder: pulumi.String("1"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Quicksight.Analysis("example", new()
{
AnalysisId = "example-id",
Name = "example-name",
SourceEntity = new Aws.Quicksight.Inputs.AnalysisSourceEntityArgs
{
SourceTemplate = new Aws.Quicksight.Inputs.AnalysisSourceEntitySourceTemplateArgs
{
Arn = source.Arn,
DataSetReferences = new[]
{
new Aws.Quicksight.Inputs.AnalysisSourceEntitySourceTemplateDataSetReferenceArgs
{
DataSetArn = dataset.Arn,
DataSetPlaceholder = "1",
},
},
},
},
});
});
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")
.name("example-name")
.sourceEntity(AnalysisSourceEntityArgs.builder()
.sourceTemplate(AnalysisSourceEntitySourceTemplateArgs.builder()
.arn(source.arn())
.dataSetReferences(AnalysisSourceEntitySourceTemplateDataSetReferenceArgs.builder()
.dataSetArn(dataset.arn())
.dataSetPlaceholder("1")
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:quicksight:Analysis
properties:
analysisId: example-id
name: example-name
sourceEntity:
sourceTemplate:
arn: ${source.arn}
dataSetReferences:
- dataSetArn: ${dataset.arn}
dataSetPlaceholder: '1'
With Definition
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: aws:quicksight:Analysis
properties:
analysisId: example-id
name: example-name
definition:
dataSetIdentifiersDeclarations:
- dataSetArn: ${dataset.arn}
identifier: '1'
sheets:
- title: Example
sheetId: Example1
visuals:
- lineChartVisual:
visualId: LineChart
title:
formatText:
plainText: Line Chart Example
chartConfiguration:
fieldWells:
lineChartAggregatedFieldWells:
categories:
- categoricalDimensionField:
fieldId: '1'
column:
dataSetIdentifier: '1'
columnName: Column1
values:
- categoricalMeasureField:
fieldId: '2'
column:
dataSetIdentifier: '1'
columnName: Column1
aggregationFunction: COUNT
Create Analysis Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Analysis(name: string, args: AnalysisArgs, opts?: CustomResourceOptions);
@overload
def Analysis(resource_name: str,
args: AnalysisArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Analysis(resource_name: str,
opts: Optional[ResourceOptions] = None,
analysis_id: Optional[str] = None,
aws_account_id: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[AnalysisParametersArgs] = None,
permissions: Optional[Sequence[AnalysisPermissionArgs]] = None,
recovery_window_in_days: Optional[int] = None,
source_entity: Optional[AnalysisSourceEntityArgs] = None,
tags: Optional[Mapping[str, str]] = None,
theme_arn: Optional[str] = None)
func NewAnalysis(ctx *Context, name string, args AnalysisArgs, opts ...ResourceOption) (*Analysis, error)
public Analysis(string name, AnalysisArgs args, CustomResourceOptions? opts = null)
public Analysis(String name, AnalysisArgs args)
public Analysis(String name, AnalysisArgs args, CustomResourceOptions options)
type: aws:quicksight:Analysis
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AnalysisArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AnalysisArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AnalysisArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AnalysisArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AnalysisArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var analysisResource = new Aws.Quicksight.Analysis("analysisResource", new()
{
AnalysisId = "string",
AwsAccountId = "string",
Name = "string",
Parameters = new Aws.Quicksight.Inputs.AnalysisParametersArgs
{
DateTimeParameters = new[]
{
new Aws.Quicksight.Inputs.AnalysisParametersDateTimeParameterArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
DecimalParameters = new[]
{
new Aws.Quicksight.Inputs.AnalysisParametersDecimalParameterArgs
{
Name = "string",
Values = new[]
{
0,
},
},
},
IntegerParameters = new[]
{
new Aws.Quicksight.Inputs.AnalysisParametersIntegerParameterArgs
{
Name = "string",
Values = new[]
{
0,
},
},
},
StringParameters = new[]
{
new Aws.Quicksight.Inputs.AnalysisParametersStringParameterArgs
{
Name = "string",
Values = new[]
{
"string",
},
},
},
},
Permissions = new[]
{
new Aws.Quicksight.Inputs.AnalysisPermissionArgs
{
Actions = new[]
{
"string",
},
Principal = "string",
},
},
RecoveryWindowInDays = 0,
SourceEntity = new Aws.Quicksight.Inputs.AnalysisSourceEntityArgs
{
SourceTemplate = new Aws.Quicksight.Inputs.AnalysisSourceEntitySourceTemplateArgs
{
Arn = "string",
DataSetReferences = new[]
{
new Aws.Quicksight.Inputs.AnalysisSourceEntitySourceTemplateDataSetReferenceArgs
{
DataSetArn = "string",
DataSetPlaceholder = "string",
},
},
},
},
Tags =
{
{ "string", "string" },
},
ThemeArn = "string",
});
example, err := quicksight.NewAnalysis(ctx, "analysisResource", &quicksight.AnalysisArgs{
AnalysisId: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
Name: pulumi.String("string"),
Parameters: &quicksight.AnalysisParametersArgs{
DateTimeParameters: quicksight.AnalysisParametersDateTimeParameterArray{
&quicksight.AnalysisParametersDateTimeParameterArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DecimalParameters: quicksight.AnalysisParametersDecimalParameterArray{
&quicksight.AnalysisParametersDecimalParameterArgs{
Name: pulumi.String("string"),
Values: pulumi.Float64Array{
pulumi.Float64(0),
},
},
},
IntegerParameters: quicksight.AnalysisParametersIntegerParameterArray{
&quicksight.AnalysisParametersIntegerParameterArgs{
Name: pulumi.String("string"),
Values: pulumi.IntArray{
pulumi.Int(0),
},
},
},
StringParameters: quicksight.AnalysisParametersStringParameterArray{
&quicksight.AnalysisParametersStringParameterArgs{
Name: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Permissions: quicksight.AnalysisPermissionArray{
&quicksight.AnalysisPermissionArgs{
Actions: pulumi.StringArray{
pulumi.String("string"),
},
Principal: pulumi.String("string"),
},
},
RecoveryWindowInDays: pulumi.Int(0),
SourceEntity: &quicksight.AnalysisSourceEntityArgs{
SourceTemplate: &quicksight.AnalysisSourceEntitySourceTemplateArgs{
Arn: pulumi.String("string"),
DataSetReferences: quicksight.AnalysisSourceEntitySourceTemplateDataSetReferenceArray{
&quicksight.AnalysisSourceEntitySourceTemplateDataSetReferenceArgs{
DataSetArn: pulumi.String("string"),
DataSetPlaceholder: pulumi.String("string"),
},
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ThemeArn: pulumi.String("string"),
})
var analysisResource = new Analysis("analysisResource", AnalysisArgs.builder()
.analysisId("string")
.awsAccountId("string")
.name("string")
.parameters(AnalysisParametersArgs.builder()
.dateTimeParameters(AnalysisParametersDateTimeParameterArgs.builder()
.name("string")
.values("string")
.build())
.decimalParameters(AnalysisParametersDecimalParameterArgs.builder()
.name("string")
.values(0)
.build())
.integerParameters(AnalysisParametersIntegerParameterArgs.builder()
.name("string")
.values(0)
.build())
.stringParameters(AnalysisParametersStringParameterArgs.builder()
.name("string")
.values("string")
.build())
.build())
.permissions(AnalysisPermissionArgs.builder()
.actions("string")
.principal("string")
.build())
.recoveryWindowInDays(0)
.sourceEntity(AnalysisSourceEntityArgs.builder()
.sourceTemplate(AnalysisSourceEntitySourceTemplateArgs.builder()
.arn("string")
.dataSetReferences(AnalysisSourceEntitySourceTemplateDataSetReferenceArgs.builder()
.dataSetArn("string")
.dataSetPlaceholder("string")
.build())
.build())
.build())
.tags(Map.of("string", "string"))
.themeArn("string")
.build());
analysis_resource = aws.quicksight.Analysis("analysisResource",
analysis_id="string",
aws_account_id="string",
name="string",
parameters={
"date_time_parameters": [{
"name": "string",
"values": ["string"],
}],
"decimal_parameters": [{
"name": "string",
"values": [0],
}],
"integer_parameters": [{
"name": "string",
"values": [0],
}],
"string_parameters": [{
"name": "string",
"values": ["string"],
}],
},
permissions=[{
"actions": ["string"],
"principal": "string",
}],
recovery_window_in_days=0,
source_entity={
"source_template": {
"arn": "string",
"data_set_references": [{
"data_set_arn": "string",
"data_set_placeholder": "string",
}],
},
},
tags={
"string": "string",
},
theme_arn="string")
const analysisResource = new aws.quicksight.Analysis("analysisResource", {
analysisId: "string",
awsAccountId: "string",
name: "string",
parameters: {
dateTimeParameters: [{
name: "string",
values: ["string"],
}],
decimalParameters: [{
name: "string",
values: [0],
}],
integerParameters: [{
name: "string",
values: [0],
}],
stringParameters: [{
name: "string",
values: ["string"],
}],
},
permissions: [{
actions: ["string"],
principal: "string",
}],
recoveryWindowInDays: 0,
sourceEntity: {
sourceTemplate: {
arn: "string",
dataSetReferences: [{
dataSetArn: "string",
dataSetPlaceholder: "string",
}],
},
},
tags: {
string: "string",
},
themeArn: "string",
});
type: aws:quicksight:Analysis
properties:
analysisId: string
awsAccountId: string
name: string
parameters:
dateTimeParameters:
- name: string
values:
- string
decimalParameters:
- name: string
values:
- 0
integerParameters:
- name: string
values:
- 0
stringParameters:
- name: string
values:
- string
permissions:
- actions:
- string
principal: string
recoveryWindowInDays: 0
sourceEntity:
sourceTemplate:
arn: string
dataSetReferences:
- dataSetArn: string
dataSetPlaceholder: string
tags:
string: string
themeArn: string
Analysis Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Analysis resource accepts the following input properties:
- Analysis
Id string - Identifier for the analysis.
- Aws
Account stringId - AWS account ID.
- Name string
Display name for the analysis.
The following arguments are optional:
- Parameters
Analysis
Parameters - 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.
- Permissions
List<Analysis
Permission> - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- Recovery
Window intIn Days - 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 of7
. Maximum value of30
. Default to30
. - Source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - Dictionary<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. - Theme
Arn 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.
- Analysis
Id string - Identifier for the analysis.
- Aws
Account stringId - AWS account ID.
- Name string
Display name for the analysis.
The following arguments are optional:
- Parameters
Analysis
Parameters Args - 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.
- Permissions
[]Analysis
Permission Args - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- Recovery
Window intIn Days - 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 of7
. Maximum value of30
. Default to30
. - Source
Entity AnalysisSource Entity Args - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - 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. - Theme
Arn 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.
- analysis
Id String - Identifier for the analysis.
- aws
Account StringId - AWS account ID.
- name String
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters - 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.
- permissions
List<Analysis
Permission> - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window IntegerIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - 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. - theme
Arn 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.
- analysis
Id string - Identifier for the analysis.
- aws
Account stringId - AWS account ID.
- name string
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters - 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.
- permissions
Analysis
Permission[] - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window numberIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - {[key: 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. - theme
Arn 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.
- analysis_
id str - Identifier for the analysis.
- aws_
account_ strid - AWS account ID.
- name str
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters Args - 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.
- permissions
Sequence[Analysis
Permission Args] - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery_
window_ intin_ days - 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 of7
. Maximum value of30
. Default to30
. - source_
entity AnalysisSource Entity Args - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - Mapping[str, str]
- 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. - theme_
arn str - 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.
- analysis
Id String - Identifier for the analysis.
- aws
Account StringId - AWS account ID.
- name String
Display name for the analysis.
The following arguments are optional:
- parameters Property Map
- 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.
- permissions List<Property Map>
- A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window NumberIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity Property Map - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - Map<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. - theme
Arn 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Analysis resource produces the following output properties:
- Arn string
- ARN of the analysis.
- Created
Time string - The time that the analysis was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Published stringTime - Last
Updated stringTime - The time that the analysis was last updated.
- Status string
- The analysis creation status.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the analysis.
- Created
Time string - The time that the analysis was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Published stringTime - Last
Updated stringTime - The time that the analysis was last updated.
- Status string
- The analysis creation status.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the analysis.
- created
Time String - The time that the analysis was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Published StringTime - last
Updated StringTime - The time that the analysis was last updated.
- status String
- The analysis creation status.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the analysis.
- created
Time string - The time that the analysis was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Published stringTime - last
Updated stringTime - The time that the analysis was last updated.
- status string
- The analysis creation status.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the analysis.
- created_
time str - The time that the analysis was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
published_ strtime - last_
updated_ strtime - The time that the analysis was last updated.
- status str
- The analysis creation status.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the analysis.
- created
Time String - The time that the analysis was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Published StringTime - last
Updated StringTime - The time that the analysis was last updated.
- status String
- The analysis creation status.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing Analysis Resource
Get an existing Analysis resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AnalysisState, opts?: CustomResourceOptions): Analysis
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
analysis_id: Optional[str] = None,
arn: Optional[str] = None,
aws_account_id: Optional[str] = None,
created_time: Optional[str] = None,
last_published_time: Optional[str] = None,
last_updated_time: Optional[str] = None,
name: Optional[str] = None,
parameters: Optional[AnalysisParametersArgs] = None,
permissions: Optional[Sequence[AnalysisPermissionArgs]] = None,
recovery_window_in_days: Optional[int] = None,
source_entity: Optional[AnalysisSourceEntityArgs] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
theme_arn: Optional[str] = None) -> Analysis
func GetAnalysis(ctx *Context, name string, id IDInput, state *AnalysisState, opts ...ResourceOption) (*Analysis, error)
public static Analysis Get(string name, Input<string> id, AnalysisState? state, CustomResourceOptions? opts = null)
public static Analysis get(String name, Output<String> id, AnalysisState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Analysis
Id string - Identifier for the analysis.
- Arn string
- ARN of the analysis.
- Aws
Account stringId - AWS account ID.
- Created
Time string - The time that the analysis was created.
- Last
Published stringTime - Last
Updated stringTime - The time that the analysis was last updated.
- Name string
Display name for the analysis.
The following arguments are optional:
- Parameters
Analysis
Parameters - 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.
- Permissions
List<Analysis
Permission> - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- Recovery
Window intIn Days - 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 of7
. Maximum value of30
. Default to30
. - Source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - Status string
- The analysis creation status.
- Dictionary<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. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Theme
Arn 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.
- Analysis
Id string - Identifier for the analysis.
- Arn string
- ARN of the analysis.
- Aws
Account stringId - AWS account ID.
- Created
Time string - The time that the analysis was created.
- Last
Published stringTime - Last
Updated stringTime - The time that the analysis was last updated.
- Name string
Display name for the analysis.
The following arguments are optional:
- Parameters
Analysis
Parameters Args - 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.
- Permissions
[]Analysis
Permission Args - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- Recovery
Window intIn Days - 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 of7
. Maximum value of30
. Default to30
. - Source
Entity AnalysisSource Entity Args - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - Status string
- The analysis creation status.
- 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. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Theme
Arn 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.
- analysis
Id String - Identifier for the analysis.
- arn String
- ARN of the analysis.
- aws
Account StringId - AWS account ID.
- created
Time String - The time that the analysis was created.
- last
Published StringTime - last
Updated StringTime - The time that the analysis was last updated.
- name String
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters - 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.
- permissions
List<Analysis
Permission> - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window IntegerIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - status String
- The analysis creation status.
- 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. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - theme
Arn 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.
- analysis
Id string - Identifier for the analysis.
- arn string
- ARN of the analysis.
- aws
Account stringId - AWS account ID.
- created
Time string - The time that the analysis was created.
- last
Published stringTime - last
Updated stringTime - The time that the analysis was last updated.
- name string
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters - 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.
- permissions
Analysis
Permission[] - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window numberIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity AnalysisSource Entity - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - status string
- The analysis creation status.
- {[key: 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. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - theme
Arn 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.
- analysis_
id str - Identifier for the analysis.
- arn str
- ARN of the analysis.
- aws_
account_ strid - AWS account ID.
- created_
time str - The time that the analysis was created.
- last_
published_ strtime - last_
updated_ strtime - The time that the analysis was last updated.
- name str
Display name for the analysis.
The following arguments are optional:
- parameters
Analysis
Parameters Args - 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.
- permissions
Sequence[Analysis
Permission Args] - A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery_
window_ intin_ days - 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 of7
. Maximum value of30
. Default to30
. - source_
entity AnalysisSource Entity Args - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - status str
- The analysis creation status.
- Mapping[str, str]
- 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. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - theme_
arn str - 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.
- analysis
Id String - Identifier for the analysis.
- arn String
- ARN of the analysis.
- aws
Account StringId - AWS account ID.
- created
Time String - The time that the analysis was created.
- last
Published StringTime - last
Updated StringTime - The time that the analysis was last updated.
- name String
Display name for the analysis.
The following arguments are optional:
- parameters Property Map
- 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.
- permissions List<Property Map>
- A set of resource permissions on the analysis. Maximum of 64 items. See permissions.
- recovery
Window NumberIn Days - 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 of7
. Maximum value of30
. Default to30
. - source
Entity Property Map - The entity that you are using as a source when you create the analysis (template). Only one of
definition
orsource_entity
should be configured. See source_entity. - status String
- The analysis creation status.
- Map<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. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - theme
Arn 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.
Supporting Types
AnalysisParameters, AnalysisParametersArgs
- Date
Time List<AnalysisParameters Parameters Date Time Parameter> - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- Decimal
Parameters List<AnalysisParameters Decimal Parameter> - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- Integer
Parameters List<AnalysisParameters Integer Parameter> - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- String
Parameters List<AnalysisParameters String Parameter> - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
- Date
Time []AnalysisParameters Parameters Date Time Parameter - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- Decimal
Parameters []AnalysisParameters Decimal Parameter - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- Integer
Parameters []AnalysisParameters Integer Parameter - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- String
Parameters []AnalysisParameters String Parameter - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
- date
Time List<AnalysisParameters Parameters Date Time Parameter> - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- decimal
Parameters List<AnalysisParameters Decimal Parameter> - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- integer
Parameters List<AnalysisParameters Integer Parameter> - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- string
Parameters List<AnalysisParameters String Parameter> - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
- date
Time AnalysisParameters Parameters Date Time Parameter[] - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- decimal
Parameters AnalysisParameters Decimal Parameter[] - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- integer
Parameters AnalysisParameters Integer Parameter[] - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- string
Parameters AnalysisParameters String Parameter[] - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
- date_
time_ Sequence[Analysisparameters Parameters Date Time Parameter] - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- decimal_
parameters Sequence[AnalysisParameters Decimal Parameter] - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- integer_
parameters Sequence[AnalysisParameters Integer Parameter] - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- string_
parameters Sequence[AnalysisParameters String Parameter] - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
- date
Time List<Property Map>Parameters - A list of parameters that have a data type of date-time. See AWS API Documentation for complete description.
- decimal
Parameters List<Property Map> - A list of parameters that have a data type of decimal. See AWS API Documentation for complete description.
- integer
Parameters List<Property Map> - A list of parameters that have a data type of integer. See AWS API Documentation for complete description.
- string
Parameters List<Property Map> - A list of parameters that have a data type of string. See AWS API Documentation for complete description.
AnalysisParametersDateTimeParameter, AnalysisParametersDateTimeParameterArgs
AnalysisParametersDecimalParameter, AnalysisParametersDecimalParameterArgs
AnalysisParametersIntegerParameter, AnalysisParametersIntegerParameterArgs
AnalysisParametersStringParameter, AnalysisParametersStringParameterArgs
AnalysisPermission, AnalysisPermissionArgs
- Actions List<string>
- List of IAM actions to grant or revoke permissions on.
- Principal string
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
- Actions []string
- List of IAM actions to grant or revoke permissions on.
- Principal string
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
- actions List<String>
- List of IAM actions to grant or revoke permissions on.
- principal String
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
- actions string[]
- List of IAM actions to grant or revoke permissions on.
- principal string
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
- actions Sequence[str]
- List of IAM actions to grant or revoke permissions on.
- principal str
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
- actions List<String>
- List of IAM actions to grant or revoke permissions on.
- principal String
- ARN of the principal. See the ResourcePermission documentation for the applicable ARN values.
AnalysisSourceEntity, AnalysisSourceEntityArgs
- Source
Template AnalysisSource Entity Source Template - The source template. See source_template.
- Source
Template AnalysisSource Entity Source Template - The source template. See source_template.
- source
Template AnalysisSource Entity Source Template - The source template. See source_template.
- source
Template AnalysisSource Entity Source Template - The source template. See source_template.
- source_
template AnalysisSource Entity Source Template - The source template. See source_template.
- source
Template Property Map - The source template. See source_template.
AnalysisSourceEntitySourceTemplate, AnalysisSourceEntitySourceTemplateArgs
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- Data
Set List<AnalysisReferences Source Entity Source Template Data Set Reference> - List of dataset references. See data_set_references.
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- Data
Set []AnalysisReferences Source Entity Source Template Data Set Reference - List of dataset references. See data_set_references.
- arn String
- The Amazon Resource Name (ARN) of the resource.
- data
Set List<AnalysisReferences Source Entity Source Template Data Set Reference> - List of dataset references. See data_set_references.
- arn string
- The Amazon Resource Name (ARN) of the resource.
- data
Set AnalysisReferences Source Entity Source Template Data Set Reference[] - List of dataset references. See data_set_references.
- arn str
- The Amazon Resource Name (ARN) of the resource.
- data_
set_ Sequence[Analysisreferences Source Entity Source Template Data Set Reference] - List of dataset references. See data_set_references.
- arn String
- The Amazon Resource Name (ARN) of the resource.
- data
Set List<Property Map>References - List of dataset references. See data_set_references.
AnalysisSourceEntitySourceTemplateDataSetReference, AnalysisSourceEntitySourceTemplateDataSetReferenceArgs
- Data
Set stringArn - Dataset Amazon Resource Name (ARN).
- Data
Set stringPlaceholder - Dataset placeholder.
- Data
Set stringArn - Dataset Amazon Resource Name (ARN).
- Data
Set stringPlaceholder - Dataset placeholder.
- data
Set StringArn - Dataset Amazon Resource Name (ARN).
- data
Set StringPlaceholder - Dataset placeholder.
- data
Set stringArn - Dataset Amazon Resource Name (ARN).
- data
Set stringPlaceholder - Dataset placeholder.
- data_
set_ strarn - Dataset Amazon Resource Name (ARN).
- data_
set_ strplaceholder - Dataset placeholder.
- data
Set StringArn - Dataset Amazon Resource Name (ARN).
- data
Set StringPlaceholder - Dataset placeholder.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.