# TemplateSourceAnalysisProperty

The source analysis of the template.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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 templateSourceAnalysisProperty: quicksight.CfnTemplate.TemplateSourceAnalysisProperty = {
  arn: 'arn',
  dataSetReferences: [{
    dataSetArn: 'dataSetArn',
    dataSetPlaceholder: 'dataSetPlaceholder',
  }],

  // the properties below are optional
  topicReferences: [{
    topicArn: 'topicArn',
    topicPlaceholder: 'topicPlaceholder',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

template_source_analysis_property = quicksight.CfnTemplate.TemplateSourceAnalysisProperty(
    arn="arn",
    data_set_references=[quicksight.CfnTemplate.DataSetReferenceProperty(
        data_set_arn="dataSetArn",
        data_set_placeholder="dataSetPlaceholder"
    )],

    # the properties below are optional
    topic_references=[quicksight.CfnTemplate.TopicReferenceProperty(
        topic_arn="topicArn",
        topic_placeholder="topicPlaceholder"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

TemplateSourceAnalysisProperty templateSourceAnalysisProperty = TemplateSourceAnalysisProperty.builder()
        .arn("arn")
        .dataSetReferences(List.of(DataSetReferenceProperty.builder()
                .dataSetArn("dataSetArn")
                .dataSetPlaceholder("dataSetPlaceholder")
                .build()))

        // the properties below are optional
        .topicReferences(List.of(TopicReferenceProperty.builder()
                .topicArn("topicArn")
                .topicPlaceholder("topicPlaceholder")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var templateSourceAnalysisProperty = new TemplateSourceAnalysisProperty {
    Arn = "arn",
    DataSetReferences = new [] { new DataSetReferenceProperty {
        DataSetArn = "dataSetArn",
        DataSetPlaceholder = "dataSetPlaceholder"
    } },

    // the properties below are optional
    TopicReferences = new [] { new TopicReferenceProperty {
        TopicArn = "topicArn",
        TopicPlaceholder = "topicPlaceholder"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

templateSourceAnalysisProperty := &TemplateSourceAnalysisProperty{
	Arn: jsii.String("arn"),
	DataSetReferences: []interface{}{
		&DataSetReferenceProperty{
			DataSetArn: jsii.String("dataSetArn"),
			DataSetPlaceholder: jsii.String("dataSetPlaceholder"),
		},
	},

	// the properties below are optional
	TopicReferences: []interface{}{
		&TopicReferenceProperty{
			TopicArn: jsii.String("topicArn"),
			TopicPlaceholder: jsii.String("topicPlaceholder"),
		},
	},
}
```

## Properties

- `arn`: string (required) — The Amazon Resource Name (ARN) of the resource.

- `dataSetReferences`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.DataSetReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.DataSetReferenceProperty.html)[] (required) — A structure containing information about the dataset references used as placeholders in the template.

- `topicReferences`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.TopicReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.TopicReferenceProperty.html)[]
