Assets are local files, directories or docker images which can be bundled into CDK constructs and apps. A common example is a directory which contains the handler code for an AWS Lambda function, but assets can represent any artifact that is needed for the app’s operation.
When deploying an AWS CDK app that includes constructs with assets, the toolkit will first prepare and publish them to S3 or ECR, and only then deploy the stacks. The locations of the published assets will be passed in as CloudFormation Parameters to the relevant stacks.
See :py:doc:`Assets <refs/_aws-cdk_assets>` for documentation about file assets and :py:doc:`Docker Assets <refs/_aws-assets_docker>` for documentation about Docker image assets.