interface SheetImageScalingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDashboardPropsMixin.SheetImageScalingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDashboardPropsMixin_SheetImageScalingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDashboardPropsMixin.SheetImageScalingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDashboardPropsMixin.SheetImageScalingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDashboardPropsMixin » SheetImageScalingConfigurationProperty |
Determines how the image is scaled.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const sheetImageScalingConfigurationProperty: quicksight_mixins.CfnDashboardPropsMixin.SheetImageScalingConfigurationProperty = {
scalingType: 'scalingType',
};
Properties
| Name | Type | Description |
|---|---|---|
| scaling | string | The scaling option to use when fitting the image inside the container. |
scalingType?
Type:
string
(optional)
The scaling option to use when fitting the image inside the container.
Valid values are defined as follows:
SCALE_TO_WIDTH: The image takes up the entire width of the container. The image aspect ratio is preserved.SCALE_TO_HEIGHT: The image takes up the entire height of the container. The image aspect ratio is preserved.SCALE_TO_CONTAINER: The image takes up the entire width and height of the container. The image aspect ratio is not preserved.SCALE_NONE: The image is displayed in its original size and is not scaled to the container.

.NET
Go
Java
Python
TypeScript