FileSource

class aws_cdk.cloud_assembly_schema.FileSource(*, path, packaging=None)

Bases: object

Describe the source of a file asset.

Parameters
  • path (str) – The filesystem object to upload. This path is relative to the asset manifest location.

  • packaging (Optional[FileAssetPackaging]) – Packaging method. Default: FILE

Attributes

packaging

Packaging method.

Default

FILE

Return type

Optional[FileAssetPackaging]

path

The filesystem object to upload.

This path is relative to the asset manifest location.

Return type

str