

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

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

A static file that contains an image.

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

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

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

```
{
  "[Source](#cfn-quicksight-template-imagestaticfile-source)" : {{StaticFileSource}},
  "[StaticFileId](#cfn-quicksight-template-imagestaticfile-staticfileid)" : {{String}}
}
```

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

```
  [Source](#cfn-quicksight-template-imagestaticfile-source): {{
    StaticFileSource}}
  [StaticFileId](#cfn-quicksight-template-imagestaticfile-staticfileid): {{String}}
```

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

`Source`  <a name="cfn-quicksight-template-imagestaticfile-source"></a>
The source of the image static file.  
*Required*: No  
*Type*: [StaticFileSource](aws-properties-quicksight-template-staticfilesource.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StaticFileId`  <a name="cfn-quicksight-template-imagestaticfile-staticfileid"></a>
The ID of the static file that contains an image.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[\w\-]+$`  
*Minimum*: `1`  
*Maximum*: `512`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)