CfnTemplateProps
- class aws_cdk.aws_quicksight.CfnTemplateProps(*, aws_account_id, template_id, definition=None, name=None, permissions=None, source_entity=None, tags=None, validation_strategy=None, version_description=None)
Bases:
objectProperties for defining a
CfnTemplate.- Parameters:
aws_account_id (
str) – 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.template_id (
str) – An ID for the template that you want to create. This template is unique per AWS Region ; in each AWS account.definition (
Union[IResolvable,TemplateVersionDefinitionProperty,Dict[str,Any],None])name (
Optional[str]) – A display name for the template.permissions (
Union[IResolvable,Sequence[Union[IResolvable,ResourcePermissionProperty,Dict[str,Any]]],None]) – A list of resource permissions to be set on the template.source_entity (
Union[IResolvable,TemplateSourceEntityProperty,Dict[str,Any],None]) – The entity that you are using as a source when you create the template. InSourceEntity, you specify the type of object you’re using as source:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any AWS account and any Quick Sight-supported AWS Region . Use theDataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder. Either aSourceEntityor aDefinitionmust be provided in order for the request to be valid.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.validation_strategy (
Union[IResolvable,ValidationStrategyProperty,Dict[str,Any],None]) – 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 toLENIENT, validation is skipped for specific errors.version_description (
Optional[str]) – A description of the current template version being created. This API operation creates the first version of the template. Every timeUpdateTemplateis called, a new version is created. Each version of the template maintains a description of the version in theVersionDescriptionfield.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html
- ExampleMetadata:
fixture=_generated
Example:
.. rubric:: Attributes
- aws_account_id
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.
- definition
-
- Type:
see
- name
A display name for the template.
- permissions
A list of resource permissions to be set on the template.
- source_entity
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:SourceTemplatefor a template orSourceAnalysisfor an analysis. Both of these require an Amazon Resource Name (ARN). ForSourceTemplate, specify the ARN of the source template. ForSourceAnalysis, specify the ARN of the source analysis. TheSourceTemplateARN can contain any AWS account and any Quick Sight-supported AWS Region .Use the
DataSetReferencesentity withinSourceTemplateorSourceAnalysisto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.
- tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
- template_id
An ID for the template that you want to create.
This template is unique per AWS Region ; in each AWS account.
- validation_strategy
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.
- version_description
A description of the current template version being created.
This API operation creates the first version of the template. Every time
UpdateTemplateis called, a new version is created. Each version of the template maintains a description of the version in theVersionDescriptionfield.