Skip to content

ImageSourceDict

Union Type

ImageSourceDict module-attribute

Dictionary form of ImageSource, setting exactly one variant.

Union Member Types

ImageSourceBytesDict

Bases: TypedDict

Attributes

bytes_ instance-attribute
bytes_: bytes

The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.

ImageSourceS3LocationDict

Bases: TypedDict

Attributes

s3_location instance-attribute
s3_location: S3Location | S3LocationDict

The path to the Amazon S3 bucket where the image is stored.