enum BundlingOutput
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.BundlingOutput | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2#BundlingOutput | 
|  Java | software.amazon.awscdk.BundlingOutput | 
|  Python | aws_cdk.BundlingOutput | 
|  TypeScript (source) | aws-cdk-lib»BundlingOutput | 
The type of output that a bundling operation is producing.
Example
import * as cdk from 'aws-cdk-lib';
const asset = new Asset(this, 'BundledAsset', {
  path: '/path/to/asset',
  bundling: {
    image: cdk.DockerImage.fromRegistry('alpine'),
    command: ['command-that-produces-an-archive.sh'],
    outputType: cdk.BundlingOutput.NOT_ARCHIVED, // Bundling output will be zipped even though it produces a single archive file.
  },
});
Members
| Name | Description | 
|---|---|
| ARCHIVED | The bundling output directory includes a single .zip or .jar file which will be used as the final bundle. If the output directory does not include exactly a single archive, bundling will fail. | 
| NOT_ARCHIVED | The bundling output directory contains one or more files which will be archived and uploaded as a .zip file to S3. | 
| AUTO_DISCOVER | If the bundling output directory contains a single archive file (zip or jar) it will be used as the bundle output as-is. | 
| SINGLE_FILE | The bundling output directory includes a single file which will be used as the final bundle. | 
ARCHIVED
The bundling output directory includes a single .zip or .jar file which will be used as the final bundle. If the output directory does not include exactly a single archive, bundling will fail.
NOT_ARCHIVED
The bundling output directory contains one or more files which will be archived and uploaded as a .zip file to S3.
AUTO_DISCOVER
If the bundling output directory contains a single archive file (zip or jar) it will be used as the bundle output as-is.
Otherwise, all the files in the bundling output directory will be zipped.
SINGLE_FILE
The bundling output directory includes a single file which will be used as the final bundle.
If the output directory does not include exactly a single file, bundling will fail.
Similar to ARCHIVED but for non-archive files
