FileAssetPackaging

class aws_cdk.core.FileAssetPackaging

Bases: enum.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.

Attributes

FILE = 'FILE'

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

ZIP_DIRECTORY = 'ZIP_DIRECTORY'

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