architecture.d.ts
1 /** 2 * Architectures supported by AWS Lambda. 3 * 4 * @stability stable 5 */ 6 export declare class Architecture { 7 /** 8 * 64 bit architecture with x86 instruction set. 9 * 10 * @stability stable 11 */ 12 static readonly X86_64: Architecture; 13 /** 14 * 64 bit architecture with the ARM instruction set. 15 * 16 * @stability stable 17 */ 18 static readonly ARM_64: Architecture; 19 /** 20 * Used to specify a custom architecture name. 21 * 22 * Use this if the architecture name is not yet supported by the CDK. 23 * 24 * @param name the architecture name as recognized by AWS Lambda. 25 * @param dockerPlatform the platform to use for this architecture when building with Docker. 26 * @stability stable 27 */ 28 static custom(name: string, dockerPlatform?: string): Architecture; 29 /** 30 * The name of the architecture as recognized by the AWS Lambda service APIs. 31 * 32 * @stability stable 33 */ 34 readonly name: string; 35 /** 36 * The platform to use for this architecture when building with Docker. 37 * 38 * @stability stable 39 */ 40 readonly dockerPlatform: string; 41 private constructor(); 42 }