Skip to content

SheetImageScalingConfiguration

Source code in docs_src/capo_quicksight/types/sheet_image_scaling_configuration.py
class SheetImageScalingConfiguration(TypedDict, closed=True):
    scaling_type: NotRequired[
        "capo_quicksight.types.sheet_image_scaling_type.SheetImageScalingType"
    ]
    """<p>The scaling option to use when fitting the image inside the container.</p> <p>Valid values are defined as follows:</p> <ul> <li> <p> <code>SCALE_TO_WIDTH</code>: The image takes up the entire width of the container. The image aspect ratio is preserved.</p> </li> <li> <p> <code>SCALE_TO_HEIGHT</code>: The image takes up the entire height of the container. The image aspect ratio is preserved.</p> </li> <li> <p> <code>SCALE_TO_CONTAINER</code>: The image takes up the entire width and height of the container. The image aspect ratio is not preserved.</p> </li> <li> <p> <code>SCALE_NONE</code>: The image is displayed in its original size and is not scaled to the container.</p> </li> </ul>"""

scaling_type instance-attribute

scaling_type: NotRequired[SheetImageScalingType]

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.