aws.quicksight.Template
Explore with Pulumi AI
Resource for managing a QuickSight Template.
Example Usage
From Source Template
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.quicksight.Template("example", {
    templateId: "example-id",
    name: "example-name",
    versionDescription: "version",
    sourceEntity: {
        sourceTemplate: {
            arn: source.arn,
        },
    },
});
import pulumi
import pulumi_aws as aws
example = aws.quicksight.Template("example",
    template_id="example-id",
    name="example-name",
    version_description="version",
    source_entity={
        "source_template": {
            "arn": source["arn"],
        },
    })
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.NewTemplate(ctx, "example", &quicksight.TemplateArgs{
			TemplateId:         pulumi.String("example-id"),
			Name:               pulumi.String("example-name"),
			VersionDescription: pulumi.String("version"),
			SourceEntity: &quicksight.TemplateSourceEntityArgs{
				SourceTemplate: &quicksight.TemplateSourceEntitySourceTemplateArgs{
					Arn: pulumi.Any(source.Arn),
				},
			},
		})
		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.Template("example", new()
    {
        TemplateId = "example-id",
        Name = "example-name",
        VersionDescription = "version",
        SourceEntity = new Aws.Quicksight.Inputs.TemplateSourceEntityArgs
        {
            SourceTemplate = new Aws.Quicksight.Inputs.TemplateSourceEntitySourceTemplateArgs
            {
                Arn = source.Arn,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.Template;
import com.pulumi.aws.quicksight.TemplateArgs;
import com.pulumi.aws.quicksight.inputs.TemplateSourceEntityArgs;
import com.pulumi.aws.quicksight.inputs.TemplateSourceEntitySourceTemplateArgs;
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 Template("example", TemplateArgs.builder()
            .templateId("example-id")
            .name("example-name")
            .versionDescription("version")
            .sourceEntity(TemplateSourceEntityArgs.builder()
                .sourceTemplate(TemplateSourceEntitySourceTemplateArgs.builder()
                    .arn(source.arn())
                    .build())
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:quicksight:Template
    properties:
      templateId: example-id
      name: example-name
      versionDescription: version
      sourceEntity:
        sourceTemplate:
          arn: ${source.arn}
With Definition
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: aws:quicksight:Template
    properties:
      templateId: example-id
      name: example-name
      versionDescription: version
      definition:
        dataSetConfigurations:
          - dataSetSchema:
              columnSchemaLists:
                - name: Column1
                  dataType: STRING
                - name: Column2
                  dataType: INTEGER
            placeholder: '1'
        sheets:
          - title: Test
            sheetId: Test1
            visuals:
              - barChartVisual:
                  visualId: BarChart
                  chartConfiguration:
                    fieldWells:
                      barChartAggregatedFieldWells:
                        categories:
                          - categoricalDimensionField:
                              fieldId: '1'
                              column:
                                columnName: Column1
                                dataSetIdentifier: '1'
                        values:
                          - numericalMeasureField:
                              fieldId: '2'
                              column:
                                columnName: Column2
                                dataSetIdentifier: '1'
                              aggregationFunction:
                                simpleNumericalAggregation: SUM
Create Template Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Template(name: string, args: TemplateArgs, opts?: CustomResourceOptions);@overload
def Template(resource_name: str,
             args: TemplateArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Template(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             template_id: Optional[str] = None,
             version_description: Optional[str] = None,
             aws_account_id: Optional[str] = None,
             name: Optional[str] = None,
             permissions: Optional[Sequence[TemplatePermissionArgs]] = None,
             source_entity: Optional[TemplateSourceEntityArgs] = None,
             tags: Optional[Mapping[str, str]] = None)func NewTemplate(ctx *Context, name string, args TemplateArgs, opts ...ResourceOption) (*Template, error)public Template(string name, TemplateArgs args, CustomResourceOptions? opts = null)
public Template(String name, TemplateArgs args)
public Template(String name, TemplateArgs args, CustomResourceOptions options)
type: aws:quicksight:Template
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 TemplateArgs
- 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 TemplateArgs
- 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 TemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TemplateArgs
- 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 templateResource = new Aws.Quicksight.Template("templateResource", new()
{
    TemplateId = "string",
    VersionDescription = "string",
    AwsAccountId = "string",
    Name = "string",
    Permissions = new[]
    {
        new Aws.Quicksight.Inputs.TemplatePermissionArgs
        {
            Actions = new[]
            {
                "string",
            },
            Principal = "string",
        },
    },
    SourceEntity = new Aws.Quicksight.Inputs.TemplateSourceEntityArgs
    {
        SourceAnalysis = new Aws.Quicksight.Inputs.TemplateSourceEntitySourceAnalysisArgs
        {
            Arn = "string",
            DataSetReferences = new[]
            {
                new Aws.Quicksight.Inputs.TemplateSourceEntitySourceAnalysisDataSetReferenceArgs
                {
                    DataSetArn = "string",
                    DataSetPlaceholder = "string",
                },
            },
        },
        SourceTemplate = new Aws.Quicksight.Inputs.TemplateSourceEntitySourceTemplateArgs
        {
            Arn = "string",
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := quicksight.NewTemplate(ctx, "templateResource", &quicksight.TemplateArgs{
	TemplateId:         pulumi.String("string"),
	VersionDescription: pulumi.String("string"),
	AwsAccountId:       pulumi.String("string"),
	Name:               pulumi.String("string"),
	Permissions: quicksight.TemplatePermissionArray{
		&quicksight.TemplatePermissionArgs{
			Actions: pulumi.StringArray{
				pulumi.String("string"),
			},
			Principal: pulumi.String("string"),
		},
	},
	SourceEntity: &quicksight.TemplateSourceEntityArgs{
		SourceAnalysis: &quicksight.TemplateSourceEntitySourceAnalysisArgs{
			Arn: pulumi.String("string"),
			DataSetReferences: quicksight.TemplateSourceEntitySourceAnalysisDataSetReferenceArray{
				&quicksight.TemplateSourceEntitySourceAnalysisDataSetReferenceArgs{
					DataSetArn:         pulumi.String("string"),
					DataSetPlaceholder: pulumi.String("string"),
				},
			},
		},
		SourceTemplate: &quicksight.TemplateSourceEntitySourceTemplateArgs{
			Arn: pulumi.String("string"),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var templateResource = new Template("templateResource", TemplateArgs.builder()
    .templateId("string")
    .versionDescription("string")
    .awsAccountId("string")
    .name("string")
    .permissions(TemplatePermissionArgs.builder()
        .actions("string")
        .principal("string")
        .build())
    .sourceEntity(TemplateSourceEntityArgs.builder()
        .sourceAnalysis(TemplateSourceEntitySourceAnalysisArgs.builder()
            .arn("string")
            .dataSetReferences(TemplateSourceEntitySourceAnalysisDataSetReferenceArgs.builder()
                .dataSetArn("string")
                .dataSetPlaceholder("string")
                .build())
            .build())
        .sourceTemplate(TemplateSourceEntitySourceTemplateArgs.builder()
            .arn("string")
            .build())
        .build())
    .tags(Map.of("string", "string"))
    .build());
template_resource = aws.quicksight.Template("templateResource",
    template_id="string",
    version_description="string",
    aws_account_id="string",
    name="string",
    permissions=[{
        "actions": ["string"],
        "principal": "string",
    }],
    source_entity={
        "source_analysis": {
            "arn": "string",
            "data_set_references": [{
                "data_set_arn": "string",
                "data_set_placeholder": "string",
            }],
        },
        "source_template": {
            "arn": "string",
        },
    },
    tags={
        "string": "string",
    })
const templateResource = new aws.quicksight.Template("templateResource", {
    templateId: "string",
    versionDescription: "string",
    awsAccountId: "string",
    name: "string",
    permissions: [{
        actions: ["string"],
        principal: "string",
    }],
    sourceEntity: {
        sourceAnalysis: {
            arn: "string",
            dataSetReferences: [{
                dataSetArn: "string",
                dataSetPlaceholder: "string",
            }],
        },
        sourceTemplate: {
            arn: "string",
        },
    },
    tags: {
        string: "string",
    },
});
type: aws:quicksight:Template
properties:
    awsAccountId: string
    name: string
    permissions:
        - actions:
            - string
          principal: string
    sourceEntity:
        sourceAnalysis:
            arn: string
            dataSetReferences:
                - dataSetArn: string
                  dataSetPlaceholder: string
        sourceTemplate:
            arn: string
    tags:
        string: string
    templateId: string
    versionDescription: string
Template 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 Template resource accepts the following input properties:
- TemplateId string
- Identifier for the template.
- VersionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- AwsAccount stringId 
- AWS account ID.
- Name string
- Display name for the template.
- Permissions
List<TemplatePermission> 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- SourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TemplateId string
- Identifier for the template.
- VersionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- AwsAccount stringId 
- AWS account ID.
- Name string
- Display name for the template.
- Permissions
[]TemplatePermission Args 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- SourceEntity TemplateSource Entity Args 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- templateId String
- Identifier for the template.
- versionDescription String
- A description of the current template version being created/updated. - The following arguments are optional: 
- awsAccount StringId 
- AWS account ID.
- name String
- Display name for the template.
- permissions
List<TemplatePermission> 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- templateId string
- Identifier for the template.
- versionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- awsAccount stringId 
- AWS account ID.
- name string
- Display name for the template.
- permissions
TemplatePermission[] 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- template_id str
- Identifier for the template.
- version_description str
- A description of the current template version being created/updated. - The following arguments are optional: 
- aws_account_ strid 
- AWS account ID.
- name str
- Display name for the template.
- permissions
Sequence[TemplatePermission Args] 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- source_entity TemplateSource Entity Args 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- templateId String
- Identifier for the template.
- versionDescription String
- A description of the current template version being created/updated. - The following arguments are optional: 
- awsAccount StringId 
- AWS account ID.
- name String
- Display name for the template.
- permissions List<Property Map>
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity Property Map
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Template resource produces the following output properties:
- Arn string
- ARN of the template.
- CreatedTime string
- The time that the template was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringTime 
- The time that the template was last updated.
- SourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- Status string
- The template creation status.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- VersionNumber int
- The version number of the template version.
- Arn string
- ARN of the template.
- CreatedTime string
- The time that the template was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringTime 
- The time that the template was last updated.
- SourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- Status string
- The template creation status.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- VersionNumber int
- The version number of the template version.
- arn String
- ARN of the template.
- createdTime String
- The time that the template was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringTime 
- The time that the template was last updated.
- sourceEntity StringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status String
- The template creation status.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- versionNumber Integer
- The version number of the template version.
- arn string
- ARN of the template.
- createdTime string
- The time that the template was created.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated stringTime 
- The time that the template was last updated.
- sourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status string
- The template creation status.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- versionNumber number
- The version number of the template version.
- arn str
- ARN of the template.
- created_time str
- The time that the template was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_updated_ strtime 
- The time that the template was last updated.
- source_entity_ strarn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status str
- The template creation status.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- version_number int
- The version number of the template version.
- arn String
- ARN of the template.
- createdTime String
- The time that the template was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringTime 
- The time that the template was last updated.
- sourceEntity StringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status String
- The template creation status.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- versionNumber Number
- The version number of the template version.
Look up Existing Template Resource
Get an existing Template 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?: TemplateState, opts?: CustomResourceOptions): Template@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        aws_account_id: Optional[str] = None,
        created_time: Optional[str] = None,
        last_updated_time: Optional[str] = None,
        name: Optional[str] = None,
        permissions: Optional[Sequence[TemplatePermissionArgs]] = None,
        source_entity: Optional[TemplateSourceEntityArgs] = None,
        source_entity_arn: Optional[str] = None,
        status: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        template_id: Optional[str] = None,
        version_description: Optional[str] = None,
        version_number: Optional[int] = None) -> Templatefunc GetTemplate(ctx *Context, name string, id IDInput, state *TemplateState, opts ...ResourceOption) (*Template, error)public static Template Get(string name, Input<string> id, TemplateState? state, CustomResourceOptions? opts = null)public static Template get(String name, Output<String> id, TemplateState state, CustomResourceOptions options)resources:  _:    type: aws:quicksight:Template    get:      id: ${id}- 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.
- Arn string
- ARN of the template.
- AwsAccount stringId 
- AWS account ID.
- CreatedTime string
- The time that the template was created.
- LastUpdated stringTime 
- The time that the template was last updated.
- Name string
- Display name for the template.
- Permissions
List<TemplatePermission> 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- SourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- SourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- Status string
- The template creation status.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- TemplateId string
- Identifier for the template.
- VersionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- VersionNumber int
- The version number of the template version.
- Arn string
- ARN of the template.
- AwsAccount stringId 
- AWS account ID.
- CreatedTime string
- The time that the template was created.
- LastUpdated stringTime 
- The time that the template was last updated.
- Name string
- Display name for the template.
- Permissions
[]TemplatePermission Args 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- SourceEntity TemplateSource Entity Args 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- SourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- Status string
- The template creation status.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- TemplateId string
- Identifier for the template.
- VersionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- VersionNumber int
- The version number of the template version.
- arn String
- ARN of the template.
- awsAccount StringId 
- AWS account ID.
- createdTime String
- The time that the template was created.
- lastUpdated StringTime 
- The time that the template was last updated.
- name String
- Display name for the template.
- permissions
List<TemplatePermission> 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- sourceEntity StringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status String
- The template creation status.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- templateId String
- Identifier for the template.
- versionDescription String
- A description of the current template version being created/updated. - The following arguments are optional: 
- versionNumber Integer
- The version number of the template version.
- arn string
- ARN of the template.
- awsAccount stringId 
- AWS account ID.
- createdTime string
- The time that the template was created.
- lastUpdated stringTime 
- The time that the template was last updated.
- name string
- Display name for the template.
- permissions
TemplatePermission[] 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity TemplateSource Entity 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- sourceEntity stringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status string
- The template creation status.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- templateId string
- Identifier for the template.
- versionDescription string
- A description of the current template version being created/updated. - The following arguments are optional: 
- versionNumber number
- The version number of the template version.
- arn str
- ARN of the template.
- aws_account_ strid 
- AWS account ID.
- created_time str
- The time that the template was created.
- last_updated_ strtime 
- The time that the template was last updated.
- name str
- Display name for the template.
- permissions
Sequence[TemplatePermission Args] 
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- source_entity TemplateSource Entity Args 
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- source_entity_ strarn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status str
- The template creation status.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- template_id str
- Identifier for the template.
- version_description str
- A description of the current template version being created/updated. - The following arguments are optional: 
- version_number int
- The version number of the template version.
- arn String
- ARN of the template.
- awsAccount StringId 
- AWS account ID.
- createdTime String
- The time that the template was created.
- lastUpdated StringTime 
- The time that the template was last updated.
- name String
- Display name for the template.
- permissions List<Property Map>
- A set of resource permissions on the template. Maximum of 64 items. See permissions.
- sourceEntity Property Map
- The entity that you are using as a source when you create the template (analysis or template). Only one of definitionorsource_entityshould be configured. See source_entity.
- sourceEntity StringArn 
- Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
- status String
- The template creation status.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration 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_tagsconfiguration block.
- templateId String
- Identifier for the template.
- versionDescription String
- A description of the current template version being created/updated. - The following arguments are optional: 
- versionNumber Number
- The version number of the template version.
Supporting Types
TemplatePermission, TemplatePermissionArgs    
- 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.
TemplateSourceEntity, TemplateSourceEntityArgs      
- SourceAnalysis TemplateSource Entity Source Analysis 
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- SourceTemplate TemplateSource Entity Source Template 
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
- SourceAnalysis TemplateSource Entity Source Analysis 
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- SourceTemplate TemplateSource Entity Source Template 
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
- sourceAnalysis TemplateSource Entity Source Analysis 
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- sourceTemplate TemplateSource Entity Source Template 
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
- sourceAnalysis TemplateSource Entity Source Analysis 
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- sourceTemplate TemplateSource Entity Source Template 
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
- source_analysis TemplateSource Entity Source Analysis 
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- source_template TemplateSource Entity Source Template 
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
- sourceAnalysis Property Map
- The source analysis, if it is based on an analysis.. Only one of source_analysisorsource_templateshould be configured. See source_analysis.
- sourceTemplate Property Map
- The source template, if it is based on an template.. Only one of source_analysisorsource_templateshould be configured. See source_template.
TemplateSourceEntitySourceAnalysis, TemplateSourceEntitySourceAnalysisArgs          
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- DataSet List<TemplateReferences Source Entity Source Analysis Data Set Reference> 
- A list of dataset references used as placeholders in the template. See data_set_references.
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- DataSet []TemplateReferences Source Entity Source Analysis Data Set Reference 
- A list of dataset references used as placeholders in the template. See data_set_references.
- arn String
- The Amazon Resource Name (ARN) of the resource.
- dataSet List<TemplateReferences Source Entity Source Analysis Data Set Reference> 
- A list of dataset references used as placeholders in the template. See data_set_references.
- arn string
- The Amazon Resource Name (ARN) of the resource.
- dataSet TemplateReferences Source Entity Source Analysis Data Set Reference[] 
- A list of dataset references used as placeholders in the template. See data_set_references.
- arn str
- The Amazon Resource Name (ARN) of the resource.
- data_set_ Sequence[Templatereferences Source Entity Source Analysis Data Set Reference] 
- A list of dataset references used as placeholders in the template. See data_set_references.
- arn String
- The Amazon Resource Name (ARN) of the resource.
- dataSet List<Property Map>References 
- A list of dataset references used as placeholders in the template. See data_set_references.
TemplateSourceEntitySourceAnalysisDataSetReference, TemplateSourceEntitySourceAnalysisDataSetReferenceArgs                
- DataSet stringArn 
- Dataset Amazon Resource Name (ARN).
- DataSet stringPlaceholder 
- Dataset placeholder.
- DataSet stringArn 
- Dataset Amazon Resource Name (ARN).
- DataSet stringPlaceholder 
- Dataset placeholder.
- dataSet StringArn 
- Dataset Amazon Resource Name (ARN).
- dataSet StringPlaceholder 
- Dataset placeholder.
- dataSet stringArn 
- Dataset Amazon Resource Name (ARN).
- dataSet stringPlaceholder 
- Dataset placeholder.
- data_set_ strarn 
- Dataset Amazon Resource Name (ARN).
- data_set_ strplaceholder 
- Dataset placeholder.
- dataSet StringArn 
- Dataset Amazon Resource Name (ARN).
- dataSet StringPlaceholder 
- Dataset placeholder.
TemplateSourceEntitySourceTemplate, TemplateSourceEntitySourceTemplateArgs          
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- Arn string
- The Amazon Resource Name (ARN) of the resource.
- arn String
- The Amazon Resource Name (ARN) of the resource.
- arn string
- The Amazon Resource Name (ARN) of the resource.
- arn str
- The Amazon Resource Name (ARN) of the resource.
- arn String
- The Amazon Resource Name (ARN) of the resource.
Import
Using pulumi import, import a QuickSight Template using the AWS account ID and template ID separated by a comma (,). For example:
$ pulumi import aws:quicksight/template:Template 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 awsTerraform Provider.