SheetImageScalingConfigurationProperty Struct
Determines how the image is scaled.
| Source | |
|---|---|
| Type last changed |
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 sheetImageScalingConfigurationProperty: quicksight.CfnAnalysis.SheetImageScalingConfigurationProperty = {
scalingType: 'scalingType',
};
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_scaling_configuration_property = quicksight.CfnAnalysis.SheetImageScalingConfigurationProperty(
scaling_type="scalingType"
)
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.*;
SheetImageScalingConfigurationProperty sheetImageScalingConfigurationProperty = SheetImageScalingConfigurationProperty.builder()
.scalingType("scalingType")
.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 sheetImageScalingConfigurationProperty = new SheetImageScalingConfigurationProperty {
ScalingType = "scalingType"
};
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"
sheetImageScalingConfigurationProperty := &SheetImageScalingConfigurationProperty{
ScalingType: jsii.String("scalingType"),
}
Properties
scalingTypeoptionalstringscaling_typeoptionalstrscalingTypeoptionalStringScalingTypeoptionalstringScalingTypeoptional*string #The scaling option to use when fitting the image inside the container.
notes
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.