Skip to content
v2.278.0

TemplateSourceAnalysisProperty Struct ​

The source analysis of the template.

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

  // the properties below are optional
  topicReferences: [{
    topicArn: 'topicArn',
    topicPlaceholder: 'topicPlaceholder',
  }],
};
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
// 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();
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"
    } }
};
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 ​

arnstringarnstrarnStringArnstringArn*string required #
The Amazon Resource Name (ARN) of the resource.
dataSetReferencesIResolvable | IResolvable | CfnTemplate.DataSetReferenceProperty[]data_set_referencestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataSetReferenceProperty]]]dataSetReferencesIResolvableDataSetReferencesIResolvableDataSetReferencesinterface{} required #
A structure containing information about the dataset references used as placeholders in the template.
topicReferencesoptionalIResolvable | IResolvable | CfnTemplate.TopicReferenceProperty[]topic_referencesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TopicReferenceProperty]]]topicReferencesoptionalIResolvableTopicReferencesoptionalIResolvableTopicReferencesoptionalinterface{} #