Skip to content
v2.278.0

AnalysisSourceEntityProperty Struct ​

The source entity of an analysis.

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 analysisSourceEntityProperty: quicksight.CfnAnalysis.AnalysisSourceEntityProperty = {
  sourceTemplate: {
    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

analysis_source_entity_property = quicksight.CfnAnalysis.AnalysisSourceEntityProperty(
    source_template=quicksight.CfnAnalysis.AnalysisSourceTemplateProperty(
        arn="arn",
        data_set_references=[quicksight.CfnAnalysis.DataSetReferenceProperty(
            data_set_arn="dataSetArn",
            data_set_placeholder="dataSetPlaceholder"
        )],

        # the properties below are optional
        topic_references=[quicksight.CfnAnalysis.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.*;

AnalysisSourceEntityProperty analysisSourceEntityProperty = AnalysisSourceEntityProperty.builder()
        .sourceTemplate(AnalysisSourceTemplateProperty.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())
        .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 analysisSourceEntityProperty = new AnalysisSourceEntityProperty {
    SourceTemplate = new AnalysisSourceTemplateProperty {
        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"

analysisSourceEntityProperty := &AnalysisSourceEntityProperty{
	SourceTemplate: &AnalysisSourceTemplateProperty{
		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 ​

sourceTemplateoptionalIResolvable | CfnAnalysis.AnalysisSourceTemplatePropertysource_templateoptionaltyping.Union[IResolvable, AnalysisSourceTemplateProperty]sourceTemplateoptionalIResolvableSourceTemplateoptionalIResolvableSourceTemplateoptionalinterface{} #
The source template for the source entity of the analysis.