FileAssetPackaging

class aws_cdk.core.FileAssetPackaging(value)

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.