FileAssetPackaging

class aws_cdk.FileAssetPackaging(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Packaging modes for file assets.

Attributes

FILE

The asset source path points to a single file, which should be uploaded to Amazon S3.

ZIP_DIRECTORY

The asset source path points to a directory, which should be archived using zip and and then uploaded to Amazon S3.