Skip to content
v2.278.0

SheetImageProperty Struct ​

An image that is located on a sheet.

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 sheetImageProperty: quicksight.CfnAnalysis.SheetImageProperty = {
  sheetImageId: 'sheetImageId',
  source: {
    sheetImageStaticFileSource: {
      staticFileId: 'staticFileId',
    },
  },

  // the properties below are optional
  actions: [{
    actionOperations: [{
      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',
            sourceColumn: {
              columnName: 'columnName',

              // the properties below are optional
              dataSetIdentifier: 'dataSetIdentifier',
              topicIdentifier: 'topicIdentifier',
            },
            sourceField: 'sourceField',
            sourceParameterName: 'sourceParameterName',
          },
        }],
      },
      urlOperation: {
        urlTarget: 'urlTarget',
        urlTemplate: 'urlTemplate',
      },
    }],
    customActionId: 'customActionId',
    name: 'name',
    trigger: 'trigger',

    // the properties below are optional
    status: 'status',
  }],
  imageContentAltText: 'imageContentAltText',
  interactions: {
    imageMenuOption: {
      availabilityStatus: 'availabilityStatus',
    },
  },
  scaling: {
    scalingType: 'scalingType',
  },
  tooltip: {
    tooltipText: {
      plainText: 'plainText',
    },
    visibility: 'visibility',
  },
};
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

sheet_image_property = quicksight.CfnAnalysis.SheetImageProperty(
    sheet_image_id="sheetImageId",
    source=quicksight.CfnAnalysis.SheetImageSourceProperty(
        sheet_image_static_file_source=quicksight.CfnAnalysis.SheetImageStaticFileSourceProperty(
            static_file_id="staticFileId"
        )
    ),

    # the properties below are optional
    actions=[quicksight.CfnAnalysis.ImageCustomActionProperty(
        action_operations=[quicksight.CfnAnalysis.ImageCustomActionOperationProperty(
            navigation_operation=quicksight.CfnAnalysis.CustomActionNavigationOperationProperty(
                local_navigation_configuration=quicksight.CfnAnalysis.LocalNavigationConfigurationProperty(
                    target_sheet_id="targetSheetId"
                )
            ),
            set_parameters_operation=quicksight.CfnAnalysis.CustomActionSetParametersOperationProperty(
                parameter_value_configurations=[quicksight.CfnAnalysis.SetParameterValueConfigurationProperty(
                    destination_parameter_name="destinationParameterName",
                    value=quicksight.CfnAnalysis.DestinationParameterValueConfigurationProperty(
                        custom_values_configuration=quicksight.CfnAnalysis.CustomValuesConfigurationProperty(
                            custom_values=quicksight.CfnAnalysis.CustomParameterValuesProperty(
                                date_time_values=["dateTimeValues"],
                                decimal_values=[123],
                                integer_values=[123],
                                string_values=["stringValues"]
                            ),

                            # the properties below are optional
                            include_null_value=False
                        ),
                        select_all_value_options="selectAllValueOptions",
                        source_column=quicksight.CfnAnalysis.ColumnIdentifierProperty(
                            column_name="columnName",

                            # the properties below are optional
                            data_set_identifier="dataSetIdentifier",
                            topic_identifier="topicIdentifier"
                        ),
                        source_field="sourceField",
                        source_parameter_name="sourceParameterName"
                    )
                )]
            ),
            url_operation=quicksight.CfnAnalysis.CustomActionURLOperationProperty(
                url_target="urlTarget",
                url_template="urlTemplate"
            )
        )],
        custom_action_id="customActionId",
        name="name",
        trigger="trigger",

        # the properties below are optional
        status="status"
    )],
    image_content_alt_text="imageContentAltText",
    interactions=quicksight.CfnAnalysis.ImageInteractionOptionsProperty(
        image_menu_option=quicksight.CfnAnalysis.ImageMenuOptionProperty(
            availability_status="availabilityStatus"
        )
    ),
    scaling=quicksight.CfnAnalysis.SheetImageScalingConfigurationProperty(
        scaling_type="scalingType"
    ),
    tooltip=quicksight.CfnAnalysis.SheetImageTooltipConfigurationProperty(
        tooltip_text=quicksight.CfnAnalysis.SheetImageTooltipTextProperty(
            plain_text="plainText"
        ),
        visibility="visibility"
    )
)
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.*;

SheetImageProperty sheetImageProperty = SheetImageProperty.builder()
        .sheetImageId("sheetImageId")
        .source(SheetImageSourceProperty.builder()
                .sheetImageStaticFileSource(SheetImageStaticFileSourceProperty.builder()
                        .staticFileId("staticFileId")
                        .build())
                .build())

        // the properties below are optional
        .actions(List.of(ImageCustomActionProperty.builder()
                .actionOperations(List.of(ImageCustomActionOperationProperty.builder()
                        .navigationOperation(CustomActionNavigationOperationProperty.builder()
                                .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder()
                                        .targetSheetId("targetSheetId")
                                        .build())
                                .build())
                        .setParametersOperation(CustomActionSetParametersOperationProperty.builder()
                                .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder()
                                        .destinationParameterName("destinationParameterName")
                                        .value(DestinationParameterValueConfigurationProperty.builder()
                                                .customValuesConfiguration(CustomValuesConfigurationProperty.builder()
                                                        .customValues(CustomParameterValuesProperty.builder()
                                                                .dateTimeValues(List.of("dateTimeValues"))
                                                                .decimalValues(List.of(123))
                                                                .integerValues(List.of(123))
                                                                .stringValues(List.of("stringValues"))
                                                                .build())

                                                        // the properties below are optional
                                                        .includeNullValue(false)
                                                        .build())
                                                .selectAllValueOptions("selectAllValueOptions")
                                                .sourceColumn(ColumnIdentifierProperty.builder()
                                                        .columnName("columnName")

                                                        // the properties below are optional
                                                        .dataSetIdentifier("dataSetIdentifier")
                                                        .topicIdentifier("topicIdentifier")
                                                        .build())
                                                .sourceField("sourceField")
                                                .sourceParameterName("sourceParameterName")
                                                .build())
                                        .build()))
                                .build())
                        .urlOperation(CustomActionURLOperationProperty.builder()
                                .urlTarget("urlTarget")
                                .urlTemplate("urlTemplate")
                                .build())
                        .build()))
                .customActionId("customActionId")
                .name("name")
                .trigger("trigger")

                // the properties below are optional
                .status("status")
                .build()))
        .imageContentAltText("imageContentAltText")
        .interactions(ImageInteractionOptionsProperty.builder()
                .imageMenuOption(ImageMenuOptionProperty.builder()
                        .availabilityStatus("availabilityStatus")
                        .build())
                .build())
        .scaling(SheetImageScalingConfigurationProperty.builder()
                .scalingType("scalingType")
                .build())
        .tooltip(SheetImageTooltipConfigurationProperty.builder()
                .tooltipText(SheetImageTooltipTextProperty.builder()
                        .plainText("plainText")
                        .build())
                .visibility("visibility")
                .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 sheetImageProperty = new SheetImageProperty {
    SheetImageId = "sheetImageId",
    Source = new SheetImageSourceProperty {
        SheetImageStaticFileSource = new SheetImageStaticFileSourceProperty {
            StaticFileId = "staticFileId"
        }
    },

    // the properties below are optional
    Actions = new [] { new ImageCustomActionProperty {
        ActionOperations = new [] { new ImageCustomActionOperationProperty {
            NavigationOperation = new CustomActionNavigationOperationProperty {
                LocalNavigationConfiguration = new LocalNavigationConfigurationProperty {
                    TargetSheetId = "targetSheetId"
                }
            },
            SetParametersOperation = new CustomActionSetParametersOperationProperty {
                ParameterValueConfigurations = new [] { new SetParameterValueConfigurationProperty {
                    DestinationParameterName = "destinationParameterName",
                    Value = new DestinationParameterValueConfigurationProperty {
                        CustomValuesConfiguration = new CustomValuesConfigurationProperty {
                            CustomValues = new CustomParameterValuesProperty {
                                DateTimeValues = new [] { "dateTimeValues" },
                                DecimalValues = new [] { 123 },
                                IntegerValues = new [] { 123 },
                                StringValues = new [] { "stringValues" }
                            },

                            // the properties below are optional
                            IncludeNullValue = false
                        },
                        SelectAllValueOptions = "selectAllValueOptions",
                        SourceColumn = new ColumnIdentifierProperty {
                            ColumnName = "columnName",

                            // the properties below are optional
                            DataSetIdentifier = "dataSetIdentifier",
                            TopicIdentifier = "topicIdentifier"
                        },
                        SourceField = "sourceField",
                        SourceParameterName = "sourceParameterName"
                    }
                } }
            },
            UrlOperation = new CustomActionURLOperationProperty {
                UrlTarget = "urlTarget",
                UrlTemplate = "urlTemplate"
            }
        } },
        CustomActionId = "customActionId",
        Name = "name",
        Trigger = "trigger",

        // the properties below are optional
        Status = "status"
    } },
    ImageContentAltText = "imageContentAltText",
    Interactions = new ImageInteractionOptionsProperty {
        ImageMenuOption = new ImageMenuOptionProperty {
            AvailabilityStatus = "availabilityStatus"
        }
    },
    Scaling = new SheetImageScalingConfigurationProperty {
        ScalingType = "scalingType"
    },
    Tooltip = new SheetImageTooltipConfigurationProperty {
        TooltipText = new SheetImageTooltipTextProperty {
            PlainText = "plainText"
        },
        Visibility = "visibility"
    }
};
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"

sheetImageProperty := &SheetImageProperty{
	SheetImageId: jsii.String("sheetImageId"),
	Source: &SheetImageSourceProperty{
		SheetImageStaticFileSource: &SheetImageStaticFileSourceProperty{
			StaticFileId: jsii.String("staticFileId"),
		},
	},

	// the properties below are optional
	Actions: []interface{}{
		&ImageCustomActionProperty{
			ActionOperations: []interface{}{
				&ImageCustomActionOperationProperty{
					NavigationOperation: &CustomActionNavigationOperationProperty{
						LocalNavigationConfiguration: &LocalNavigationConfigurationProperty{
							TargetSheetId: jsii.String("targetSheetId"),
						},
					},
					SetParametersOperation: &CustomActionSetParametersOperationProperty{
						ParameterValueConfigurations: []interface{}{
							&SetParameterValueConfigurationProperty{
								DestinationParameterName: jsii.String("destinationParameterName"),
								Value: &DestinationParameterValueConfigurationProperty{
									CustomValuesConfiguration: &CustomValuesConfigurationProperty{
										CustomValues: &CustomParameterValuesProperty{
											DateTimeValues: []*string{
												jsii.String("dateTimeValues"),
											},
											DecimalValues: []interface{}{
												jsii.Number(123),
											},
											IntegerValues: []interface{}{
												jsii.Number(123),
											},
											StringValues: []*string{
												jsii.String("stringValues"),
											},
										},

										// the properties below are optional
										IncludeNullValue: jsii.Boolean(false),
									},
									SelectAllValueOptions: jsii.String("selectAllValueOptions"),
									SourceColumn: &ColumnIdentifierProperty{
										ColumnName: jsii.String("columnName"),

										// the properties below are optional
										DataSetIdentifier: jsii.String("dataSetIdentifier"),
										TopicIdentifier: jsii.String("topicIdentifier"),
									},
									SourceField: jsii.String("sourceField"),
									SourceParameterName: jsii.String("sourceParameterName"),
								},
							},
						},
					},
					UrlOperation: &CustomActionURLOperationProperty{
						UrlTarget: jsii.String("urlTarget"),
						UrlTemplate: jsii.String("urlTemplate"),
					},
				},
			},
			CustomActionId: jsii.String("customActionId"),
			Name: jsii.String("name"),
			Trigger: jsii.String("trigger"),

			// the properties below are optional
			Status: jsii.String("status"),
		},
	},
	ImageContentAltText: jsii.String("imageContentAltText"),
	Interactions: &ImageInteractionOptionsProperty{
		ImageMenuOption: &ImageMenuOptionProperty{
			AvailabilityStatus: jsii.String("availabilityStatus"),
		},
	},
	Scaling: &SheetImageScalingConfigurationProperty{
		ScalingType: jsii.String("scalingType"),
	},
	Tooltip: &SheetImageTooltipConfigurationProperty{
		TooltipText: &SheetImageTooltipTextProperty{
			PlainText: jsii.String("plainText"),
		},
		Visibility: jsii.String("visibility"),
	},
}

Properties ​

actionsoptionalIResolvable | IResolvable | CfnAnalysis.ImageCustomActionProperty[]actionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ImageCustomActionProperty]]]actionsoptionalIResolvableActionsoptionalIResolvableActionsoptionalinterface{} #
A list of custom actions that are configured for an image.
imageContentAltTextoptionalstringimage_content_alt_textoptionalstrimageContentAltTextoptionalStringImageContentAltTextoptionalstringImageContentAltTextoptional*string #
The alt text for the image.
interactionsoptionalIResolvable | CfnAnalysis.ImageInteractionOptionsPropertyinteractionsoptionaltyping.Union[IResolvable, ImageInteractionOptionsProperty]interactionsoptionalIResolvableInteractionsoptionalIResolvableInteractionsoptionalinterface{} #
The general image interactions setup for an image.
scalingoptionalIResolvable | CfnAnalysis.SheetImageScalingConfigurationPropertyscalingoptionaltyping.Union[IResolvable, SheetImageScalingConfigurationProperty]scalingoptionalIResolvableScalingoptionalIResolvableScalingoptionalinterface{} #
Determines how the image is scaled.
sheetImageIdstringsheet_image_idstrsheetImageIdStringSheetImageIdstringSheetImageId*string required #
The ID of the sheet image.
sourceIResolvable | CfnAnalysis.SheetImageSourcePropertysourcetyping.Union[IResolvable, SheetImageSourceProperty]sourceIResolvableSourceIResolvableSourceinterface{} required #
The source of the image.
tooltipoptionalIResolvable | CfnAnalysis.SheetImageTooltipConfigurationPropertytooltipoptionaltyping.Union[IResolvable, SheetImageTooltipConfigurationProperty]tooltipoptionalIResolvableTooltipoptionalIResolvableTooltipoptionalinterface{} #
The tooltip to be shown when hovering over the image.