Skip to content
v2.273.0

CustomContentConfigurationProperty Struct ​

The configuration of a CustomContentVisual .

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 customContentConfigurationProperty: quicksight.CfnDashboard.CustomContentConfigurationProperty = {
  contentType: 'contentType',
  contentUrl: 'contentUrl',
  imageScaling: 'imageScaling',
  interactions: {
    contextMenuOption: {
      availabilityStatus: 'availabilityStatus',
    },
    visualMenuOption: {
      availabilityStatus: 'availabilityStatus',
    },
  },
};

Properties ​

contentTypestringcontent_typestrcontentTypeStringContentTypestringContentType*string#
The content type of the custom content visual.

You can use this to have the visual render as an image.

contentUrlstringcontent_urlstrcontentUrlStringContentUrlstringContentUrl*string#
The input URL that links to the custom content that you want in the custom visual.
imageScalingstringimage_scalingstrimageScalingStringImageScalingstringImageScaling*string#
The sizing options for the size of the custom content visual.

This structure is required when the ContentType of the visual is 'IMAGE' .

interactionsIResolvable | CfnDashboard.VisualInteractionOptionsPropertyinteractionstyping.Union[IResolvable, VisualInteractionOptionsProperty]interactionsIResolvableInteractionsIResolvableInteractionsinterface{}#
The general visual interactions setup for a visual.