interface CustomContentVisualProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.QuickSight.CfnAnalysis.CustomContentVisualProperty |
![]() | software.amazon.awscdk.services.quicksight.CfnAnalysis.CustomContentVisualProperty |
![]() | aws_cdk.aws_quicksight.CfnAnalysis.CustomContentVisualProperty |
![]() | @aws-cdk/aws-quicksight » CfnAnalysis » CustomContentVisualProperty |
A visual that contains custom content.
For more information, see Using custom visual content in the Amazon QuickSight User Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const customContentVisualProperty: quicksight.CfnAnalysis.CustomContentVisualProperty = {
dataSetIdentifier: 'dataSetIdentifier',
visualId: 'visualId',
// the properties below are optional
actions: [{
actionOperations: [{
filterOperation: {
selectedFieldsConfiguration: {
selectedFieldOptions: 'selectedFieldOptions',
selectedFields: ['selectedFields'],
},
targetVisualsConfiguration: {
sameSheetTargetVisualConfiguration: {
targetVisualOptions: 'targetVisualOptions',
targetVisuals: ['targetVisuals'],
},
},
},
navigationOperation: {
localNavigationConfiguration: {
targetSheetId: 'targetSheetId',
},
},
setParametersOperation: {
parameterValueConfigurations: [{
destinationParameterName: 'destinationParameterName',
value: {
customValuesConfiguration: {
customValues: {
dateTimeValues: ['dateTimeValues'],
decimalValues: [123],
integerValues: [123],
stringValues: ['stringValues'],
},
// the properties below are optional
includeNullValue: false,
},
selectAllValueOptions: 'selectAllValueOptions',
sourceField: 'sourceField',
sourceParameterName: 'sourceParameterName',
},
}],
},
urlOperation: {
urlTarget: 'urlTarget',
urlTemplate: 'urlTemplate',
},
}],
customActionId: 'customActionId',
name: 'name',
trigger: 'trigger',
// the properties below are optional
status: 'status',
}],
chartConfiguration: {
contentType: 'contentType',
contentUrl: 'contentUrl',
imageScaling: 'imageScaling',
},
subtitle: {
formatText: {
plainText: 'plainText',
richText: 'richText',
},
visibility: 'visibility',
},
title: {
formatText: {
plainText: 'plainText',
richText: 'richText',
},
visibility: 'visibility',
},
};
Properties
Name | Type | Description |
---|---|---|
data | string | The dataset that is used to create the custom content visual. |
visual | string | The unique identifier of a visual. |
actions? | IResolvable | IResolvable | Visual [] | The list of custom actions that are configured for a visual. |
chart | IResolvable | Custom | The configuration of a CustomContentVisual . |
subtitle? | IResolvable | Visual | The subtitle that is displayed on the visual. |
title? | IResolvable | Visual | The title that is displayed on the visual. |
dataSetIdentifier
Type:
string
The dataset that is used to create the custom content visual.
You can't create a visual without a dataset.
visualId
Type:
string
The unique identifier of a visual.
This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
actions?
Type:
IResolvable
|
IResolvable
|
Visual
[]
(optional)
The list of custom actions that are configured for a visual.
chartConfiguration?
Type:
IResolvable
|
Custom
(optional)
The configuration of a CustomContentVisual
.
subtitle?
Type:
IResolvable
|
Visual
(optional)
The subtitle that is displayed on the visual.
title?
Type:
IResolvable
|
Visual
(optional)
The title that is displayed on the visual.