agent-claw: automated task changes
This commit is contained in:
75
cdk/node_modules/@aws-cdk/cloud-assembly-schema/lib/assets/file-asset.d.ts
generated
vendored
Normal file
75
cdk/node_modules/@aws-cdk/cloud-assembly-schema/lib/assets/file-asset.d.ts
generated
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
import type { AwsDestination } from './aws-destination';
|
||||
/**
|
||||
* A file asset
|
||||
*/
|
||||
export interface FileAsset {
|
||||
/**
|
||||
* A display name for this asset
|
||||
*
|
||||
* @default - The identifier will be used as the display name
|
||||
*/
|
||||
readonly displayName?: string;
|
||||
/**
|
||||
* Source description for file assets
|
||||
*/
|
||||
readonly source: FileSource;
|
||||
/**
|
||||
* Destinations for this file asset
|
||||
*/
|
||||
readonly destinations: {
|
||||
[id: string]: FileDestination;
|
||||
};
|
||||
}
|
||||
/**
|
||||
* Packaging strategy for file assets
|
||||
*/
|
||||
export declare enum FileAssetPackaging {
|
||||
/**
|
||||
* Upload the given path as a file
|
||||
*/
|
||||
FILE = "file",
|
||||
/**
|
||||
* The given path is a directory, zip it and upload
|
||||
*/
|
||||
ZIP_DIRECTORY = "zip"
|
||||
}
|
||||
/**
|
||||
* Describe the source of a file asset
|
||||
*/
|
||||
export interface FileSource {
|
||||
/**
|
||||
* External command which will produce the file asset to upload.
|
||||
*
|
||||
* @default - Exactly one of `executable` and `path` is required.
|
||||
*/
|
||||
readonly executable?: string[];
|
||||
/**
|
||||
* The filesystem object to upload
|
||||
*
|
||||
* This path is relative to the asset manifest location.
|
||||
*
|
||||
* @default - Exactly one of `executable` and `path` is required.
|
||||
*/
|
||||
readonly path?: string;
|
||||
/**
|
||||
* Packaging method
|
||||
*
|
||||
* Only allowed when `path` is specified.
|
||||
*
|
||||
* @default FILE
|
||||
*/
|
||||
readonly packaging?: FileAssetPackaging;
|
||||
}
|
||||
/**
|
||||
* Where in S3 a file asset needs to be published
|
||||
*/
|
||||
export interface FileDestination extends AwsDestination {
|
||||
/**
|
||||
* The name of the bucket
|
||||
*/
|
||||
readonly bucketName: string;
|
||||
/**
|
||||
* The destination object key
|
||||
*/
|
||||
readonly objectKey: string;
|
||||
}
|
||||
Reference in New Issue
Block a user