1. Packages
  2. AWS Classic
  3. API Docs
  4. quicksight
  5. Template

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.quicksight.Template

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    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=aws.quicksight.TemplateSourceEntityArgs(
            source_template=aws.quicksight.TemplateSourceEntitySourceTemplateArgs(
                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!
    
    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 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")
                .definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build());
    
        }
    }
    
    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.

    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=[aws.quicksight.TemplatePermissionArgs(
            actions=["string"],
            principal="string",
        )],
        source_entity=aws.quicksight.TemplateSourceEntityArgs(
            source_analysis=aws.quicksight.TemplateSourceEntitySourceAnalysisArgs(
                arn="string",
                data_set_references=[aws.quicksight.TemplateSourceEntitySourceAnalysisDataSetReferenceArgs(
                    data_set_arn="string",
                    data_set_placeholder="string",
                )],
            ),
            source_template=aws.quicksight.TemplateSourceEntitySourceTemplateArgs(
                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

    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:

    AwsAccountId string
    AWS account ID.
    Name string
    Display name for the template.
    Permissions List<Pulumi.Aws.Quicksight.Inputs.TemplatePermission>
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    SourceEntity Pulumi.Aws.Quicksight.Inputs.TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    Tags 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.
    TemplateId string
    Identifier for the template.
    VersionDescription string

    A description of the current template version being created/updated.

    The following arguments are optional:

    AwsAccountId string
    AWS account ID.
    Name string
    Display name for the template.
    Permissions []TemplatePermissionArgs
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    SourceEntity TemplateSourceEntityArgs
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    Tags 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.
    templateId String
    Identifier for the template.
    versionDescription String

    A description of the current template version being created/updated.

    The following arguments are optional:

    awsAccountId String
    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 TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    tags 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.
    templateId string
    Identifier for the template.
    versionDescription string

    A description of the current template version being created/updated.

    The following arguments are optional:

    awsAccountId string
    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 TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    tags {[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.
    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_id str
    AWS account ID.
    name str
    Display name for the template.
    permissions Sequence[TemplatePermissionArgs]
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    source_entity TemplateSourceEntityArgs
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    tags 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.
    templateId String
    Identifier for the template.
    versionDescription String

    A description of the current template version being created/updated.

    The following arguments are optional:

    awsAccountId String
    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 definition or source_entity should be configured. See source_entity.
    tags 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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Template resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the resource.
    CreatedTime string
    The time that the template was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time that the template was last updated.
    SourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    Status string
    The template creation status.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VersionNumber int
    The version number of the template version.
    Arn string
    The Amazon Resource Name (ARN) of the resource.
    CreatedTime string
    The time that the template was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime string
    The time that the template was last updated.
    SourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    Status string
    The template creation status.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    VersionNumber int
    The version number of the template version.
    arn String
    The Amazon Resource Name (ARN) of the resource.
    createdTime String
    The time that the template was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The time that the template was last updated.
    sourceEntityArn String
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status String
    The template creation status.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    versionNumber Integer
    The version number of the template version.
    arn string
    The Amazon Resource Name (ARN) of the resource.
    createdTime string
    The time that the template was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime string
    The time that the template was last updated.
    sourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status string
    The template creation status.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    versionNumber number
    The version number of the template version.
    arn str
    The Amazon Resource Name (ARN) of the resource.
    created_time str
    The time that the template was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time str
    The time that the template was last updated.
    source_entity_arn str
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status str
    The template creation status.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    version_number int
    The version number of the template version.
    arn String
    The Amazon Resource Name (ARN) of the resource.
    createdTime String
    The time that the template was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime String
    The time that the template was last updated.
    sourceEntityArn String
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status String
    The template creation status.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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) -> Template
    func 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)
    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.
    The following state arguments are supported:
    Arn string
    The Amazon Resource Name (ARN) of the resource.
    AwsAccountId string
    AWS account ID.
    CreatedTime string
    The time that the template was created.
    LastUpdatedTime string
    The time that the template was last updated.
    Name string
    Display name for the template.
    Permissions List<Pulumi.Aws.Quicksight.Inputs.TemplatePermission>
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    SourceEntity Pulumi.Aws.Quicksight.Inputs.TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    SourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    Status string
    The template creation status.
    Tags 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.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    The Amazon Resource Name (ARN) of the resource.
    AwsAccountId string
    AWS account ID.
    CreatedTime string
    The time that the template was created.
    LastUpdatedTime string
    The time that the template was last updated.
    Name string
    Display name for the template.
    Permissions []TemplatePermissionArgs
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    SourceEntity TemplateSourceEntityArgs
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    SourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    Status string
    The template creation status.
    Tags 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.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    The Amazon Resource Name (ARN) of the resource.
    awsAccountId String
    AWS account ID.
    createdTime String
    The time that the template was created.
    lastUpdatedTime String
    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 TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    sourceEntityArn String
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status String
    The template creation status.
    tags 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.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    The Amazon Resource Name (ARN) of the resource.
    awsAccountId string
    AWS account ID.
    createdTime string
    The time that the template was created.
    lastUpdatedTime string
    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 TemplateSourceEntity
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    sourceEntityArn string
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status string
    The template creation status.
    tags {[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.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    The Amazon Resource Name (ARN) of the resource.
    aws_account_id str
    AWS account ID.
    created_time str
    The time that the template was created.
    last_updated_time str
    The time that the template was last updated.
    name str
    Display name for the template.
    permissions Sequence[TemplatePermissionArgs]
    A set of resource permissions on the template. Maximum of 64 items. See permissions.
    source_entity TemplateSourceEntityArgs
    The entity that you are using as a source when you create the template (analysis or template). Only one of definition or source_entity should be configured. See source_entity.
    source_entity_arn str
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status str
    The template creation status.
    tags 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.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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
    The Amazon Resource Name (ARN) of the resource.
    awsAccountId String
    AWS account ID.
    createdTime String
    The time that the template was created.
    lastUpdatedTime String
    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 definition or source_entity should be configured. See source_entity.
    sourceEntityArn String
    Amazon Resource Name (ARN) of an analysis or template that was used to create this template.
    status String
    The template creation status.
    tags 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.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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 Pulumi.Aws.Quicksight.Inputs.TemplateSourceEntitySourceAnalysis
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    SourceTemplate Pulumi.Aws.Quicksight.Inputs.TemplateSourceEntitySourceTemplate
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.
    SourceAnalysis TemplateSourceEntitySourceAnalysis
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    SourceTemplate TemplateSourceEntitySourceTemplate
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.
    sourceAnalysis TemplateSourceEntitySourceAnalysis
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    sourceTemplate TemplateSourceEntitySourceTemplate
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.
    sourceAnalysis TemplateSourceEntitySourceAnalysis
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    sourceTemplate TemplateSourceEntitySourceTemplate
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.
    source_analysis TemplateSourceEntitySourceAnalysis
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    source_template TemplateSourceEntitySourceTemplate
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.
    sourceAnalysis Property Map
    The source analysis, if it is based on an analysis.. Only one of source_analysis or source_template should be configured. See source_analysis.
    sourceTemplate Property Map
    The source template, if it is based on an template.. Only one of source_analysis or source_template should be configured. See source_template.

    TemplateSourceEntitySourceAnalysis, TemplateSourceEntitySourceAnalysisArgs

    Arn string
    The Amazon Resource Name (ARN) of the resource.
    DataSetReferences List<Pulumi.Aws.Quicksight.Inputs.TemplateSourceEntitySourceAnalysisDataSetReference>
    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.
    DataSetReferences []TemplateSourceEntitySourceAnalysisDataSetReference
    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.
    dataSetReferences List<TemplateSourceEntitySourceAnalysisDataSetReference>
    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.
    dataSetReferences TemplateSourceEntitySourceAnalysisDataSetReference[]
    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_references Sequence[TemplateSourceEntitySourceAnalysisDataSetReference]
    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.
    dataSetReferences List<Property Map>
    A list of dataset references used as placeholders in the template. See data_set_references.

    TemplateSourceEntitySourceAnalysisDataSetReference, TemplateSourceEntitySourceAnalysisDataSetReferenceArgs

    DataSetArn string
    Dataset Amazon Resource Name (ARN).
    DataSetPlaceholder string
    Dataset placeholder.
    DataSetArn string
    Dataset Amazon Resource Name (ARN).
    DataSetPlaceholder string
    Dataset placeholder.
    dataSetArn String
    Dataset Amazon Resource Name (ARN).
    dataSetPlaceholder String
    Dataset placeholder.
    dataSetArn string
    Dataset Amazon Resource Name (ARN).
    dataSetPlaceholder string
    Dataset placeholder.
    data_set_arn str
    Dataset Amazon Resource Name (ARN).
    data_set_placeholder str
    Dataset placeholder.
    dataSetArn String
    Dataset Amazon Resource Name (ARN).
    dataSetPlaceholder String
    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 aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi