UNPKG

988 BTypeScriptView Raw
1/**
2 * Architectures supported by AWS Lambda
3 */
4export declare class Architecture {
5 /**
6 * 64 bit architecture with x86 instruction set.
7 */
8 static readonly X86_64: Architecture;
9 /**
10 * 64 bit architecture with the ARM instruction set.
11 */
12 static readonly ARM_64: Architecture;
13 /**
14 * Used to specify a custom architecture name.
15 * Use this if the architecture name is not yet supported by the CDK.
16 * @param name the architecture name as recognized by AWS Lambda.
17 * @param [dockerPlatform=linux/amd64] the platform to use for this architecture when building with Docker
18 */
19 static custom(name: string, dockerPlatform?: string): Architecture;
20 /**
21 * The name of the architecture as recognized by the AWS Lambda service APIs.
22 */
23 readonly name: string;
24 /**
25 * The platform to use for this architecture when building with Docker.
26 */
27 readonly dockerPlatform: string;
28 private constructor();
29}