# StaticFileProperty

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const staticFileProperty: quicksight.CfnTemplate.StaticFileProperty = {
  imageStaticFile: {
    staticFileId: 'staticFileId',

    // the properties below are optional
    source: {
      s3Options: {
        bucketName: 'bucketName',
        objectKey: 'objectKey',
        region: 'region',
      },
      urlOptions: {
        url: 'url',
      },
    },
  },
  spatialStaticFile: {
    staticFileId: 'staticFileId',

    // the properties below are optional
    source: {
      s3Options: {
        bucketName: 'bucketName',
        objectKey: 'objectKey',
        region: 'region',
      },
      urlOptions: {
        url: 'url',
      },
    },
  },
};
```

## Properties

- `imageStaticFile`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.ImageStaticFileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.ImageStaticFileProperty.html)

- `spatialStaticFile`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.SpatialStaticFileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.SpatialStaticFileProperty.html)
