

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::QuickSight::Template CustomContentVisual
<a name="aws-properties-quicksight-template-customcontentvisual"></a>

A visual that contains custom content.

For more information, see [Using custom visual content](https://docs.aws.amazon.com/quicksight/latest/user/custom-visual-content.html) in the *Amazon Quick Suite User Guide*.

## Syntax
<a name="aws-properties-quicksight-template-customcontentvisual-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-quicksight-template-customcontentvisual-syntax.json"></a>

```
{
  "[Actions](#cfn-quicksight-template-customcontentvisual-actions)" : [ VisualCustomAction, ... ],
  "[ChartConfiguration](#cfn-quicksight-template-customcontentvisual-chartconfiguration)" : CustomContentConfiguration,
  "[DataSetIdentifier](#cfn-quicksight-template-customcontentvisual-datasetidentifier)" : String,
  "[Subtitle](#cfn-quicksight-template-customcontentvisual-subtitle)" : VisualSubtitleLabelOptions,
  "[Title](#cfn-quicksight-template-customcontentvisual-title)" : VisualTitleLabelOptions,
  "[VisualContentAltText](#cfn-quicksight-template-customcontentvisual-visualcontentalttext)" : String,
  "[VisualId](#cfn-quicksight-template-customcontentvisual-visualid)" : String
}
```

### YAML
<a name="aws-properties-quicksight-template-customcontentvisual-syntax.yaml"></a>

```
  [Actions](#cfn-quicksight-template-customcontentvisual-actions): 
    - VisualCustomAction
  [ChartConfiguration](#cfn-quicksight-template-customcontentvisual-chartconfiguration): 
    CustomContentConfiguration
  [DataSetIdentifier](#cfn-quicksight-template-customcontentvisual-datasetidentifier): String
  [Subtitle](#cfn-quicksight-template-customcontentvisual-subtitle): 
    VisualSubtitleLabelOptions
  [Title](#cfn-quicksight-template-customcontentvisual-title): 
    VisualTitleLabelOptions
  [VisualContentAltText](#cfn-quicksight-template-customcontentvisual-visualcontentalttext): String
  [VisualId](#cfn-quicksight-template-customcontentvisual-visualid): String
```

## Properties
<a name="aws-properties-quicksight-template-customcontentvisual-properties"></a>

`Actions`  <a name="cfn-quicksight-template-customcontentvisual-actions"></a>
The list of custom actions that are configured for a visual.  
*Required*: No  
*Type*: Array of [VisualCustomAction](aws-properties-quicksight-template-visualcustomaction.md)  
*Minimum*: `0`  
*Maximum*: `10`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`ChartConfiguration`  <a name="cfn-quicksight-template-customcontentvisual-chartconfiguration"></a>
The configuration of a `CustomContentVisual`.  
*Required*: No  
*Type*: [CustomContentConfiguration](aws-properties-quicksight-template-customcontentconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`DataSetIdentifier`  <a name="cfn-quicksight-template-customcontentvisual-datasetidentifier"></a>
The dataset that is used to create the custom content visual. You can't create a visual without a dataset.  
*Required*: Yes  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `2048`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Subtitle`  <a name="cfn-quicksight-template-customcontentvisual-subtitle"></a>
The subtitle that is displayed on the visual.  
*Required*: No  
*Type*: [VisualSubtitleLabelOptions](aws-properties-quicksight-template-visualsubtitlelabeloptions.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Title`  <a name="cfn-quicksight-template-customcontentvisual-title"></a>
The title that is displayed on the visual.  
*Required*: No  
*Type*: [VisualTitleLabelOptions](aws-properties-quicksight-template-visualtitlelabeloptions.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VisualContentAltText`  <a name="cfn-quicksight-template-customcontentvisual-visualcontentalttext"></a>
The alt text for the visual.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `1024`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`VisualId`  <a name="cfn-quicksight-template-customcontentvisual-visualid"></a>
The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[\w\-]+$`  
*Minimum*: `1`  
*Maximum*: `512`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)