import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Definition of the AWS::QuickSight::Template Resource Type. */ export declare class Template extends pulumi.CustomResource { /** * Get an existing Template resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Template; /** * Returns true if the given object is an instance of Template. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Template; /** *

The Amazon Resource Name (ARN) of the template.

*/ readonly arn: pulumi.Output; /** * The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon Quick Sight account. */ readonly awsAccountId: pulumi.Output; /** *

Time when this was created.

*/ readonly createdTime: pulumi.Output; readonly definition: pulumi.Output; /** *

Time when this was last updated.

*/ readonly lastUpdatedTime: pulumi.Output; /** * A display name for the template. */ readonly name: pulumi.Output; /** * A list of resource permissions to be set on the template. */ readonly permissions: pulumi.Output; /** * The entity that you are using as a source when you create the template. In `SourceEntity` , you specify the type of object you're using as source: `SourceTemplate` for a template or `SourceAnalysis` for an analysis. Both of these require an Amazon Resource Name (ARN). For `SourceTemplate` , specify the ARN of the source template. For `SourceAnalysis` , specify the ARN of the source analysis. The `SourceTemplate` ARN can contain any AWS account and any Quick Sight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` or `SourceAnalysis` to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder. * * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. */ readonly sourceEntity: pulumi.Output; /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the resource. */ readonly tags: pulumi.Output; /** * An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account. */ readonly templateId: pulumi.Output; /** * The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to `LENIENT` , validation is skipped for specific errors. */ readonly validationStrategy: pulumi.Output; readonly version: pulumi.Output; /** * A description of the current template version being created. This API operation creates the first version of the template. Every time `UpdateTemplate` is called, a new version is created. Each version of the template maintains a description of the version in the `VersionDescription` field. */ readonly versionDescription: pulumi.Output; /** * Create a Template resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Template resource. */ export interface TemplateArgs { /** * The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon Quick Sight account. */ awsAccountId: pulumi.Input; definition?: pulumi.Input; /** * A display name for the template. */ name?: pulumi.Input; /** * A list of resource permissions to be set on the template. */ permissions?: pulumi.Input[]>; /** * The entity that you are using as a source when you create the template. In `SourceEntity` , you specify the type of object you're using as source: `SourceTemplate` for a template or `SourceAnalysis` for an analysis. Both of these require an Amazon Resource Name (ARN). For `SourceTemplate` , specify the ARN of the source template. For `SourceAnalysis` , specify the ARN of the source analysis. The `SourceTemplate` ARN can contain any AWS account and any Quick Sight-supported AWS Region . * * Use the `DataSetReferences` entity within `SourceTemplate` or `SourceAnalysis` to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder. * * Either a `SourceEntity` or a `Definition` must be provided in order for the request to be valid. */ sourceEntity?: pulumi.Input; /** * Contains a map of the key-value pairs for the resource tag or tags assigned to the resource. */ tags?: pulumi.Input[]>; /** * An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account. */ templateId: pulumi.Input; /** * The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value to `LENIENT` , validation is skipped for specific errors. */ validationStrategy?: pulumi.Input; /** * A description of the current template version being created. This API operation creates the first version of the template. Every time `UpdateTemplate` is called, a new version is created. Each version of the template maintains a description of the version in the `VersionDescription` field. */ versionDescription?: pulumi.Input; }