1 | /**
|
2 | * The CpuArchitecture for Fargate Runtime Platform.
|
3 | */
|
4 | export declare class CpuArchitecture {
|
5 | readonly _cpuArchitecture: string;
|
6 | /**
|
7 | * ARM64
|
8 | */
|
9 | static readonly ARM64: CpuArchitecture;
|
10 | /**
|
11 | * X86_64
|
12 | */
|
13 | static readonly X86_64: CpuArchitecture;
|
14 | /**
|
15 | * Other cpu architecture.
|
16 | *
|
17 | * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html#cfn-ecs-taskdefinition-runtimeplatform-cpuarchitecture for all available cpu architecture.
|
18 | *
|
19 | * @param cpuArchitecture cpu architecture.
|
20 | *
|
21 | */
|
22 | static of(cpuArchitecture: string): CpuArchitecture;
|
23 | /**
|
24 | *
|
25 | * @param _cpuArchitecture The CPU architecture.
|
26 | */
|
27 | private constructor();
|
28 | }
|
29 | /**
|
30 | * The operating system for Fargate Runtime Platform.
|
31 | */
|
32 | export declare class OperatingSystemFamily {
|
33 | readonly _operatingSystemFamily: string;
|
34 | /**
|
35 | * LINUX
|
36 | */
|
37 | static readonly LINUX: OperatingSystemFamily;
|
38 | /**
|
39 | * WINDOWS_SERVER_2004_CORE
|
40 | */
|
41 | static readonly WINDOWS_SERVER_2004_CORE: OperatingSystemFamily;
|
42 | /**
|
43 | * WINDOWS_SERVER_2016_FULL
|
44 | */
|
45 | static readonly WINDOWS_SERVER_2016_FULL: OperatingSystemFamily;
|
46 | /**
|
47 | * WINDOWS_SERVER_2019_CORE
|
48 | */
|
49 | static readonly WINDOWS_SERVER_2019_CORE: OperatingSystemFamily;
|
50 | /**
|
51 | * WINDOWS_SERVER_2019_FULL
|
52 | */
|
53 | static readonly WINDOWS_SERVER_2019_FULL: OperatingSystemFamily;
|
54 | /**
|
55 | * WINDOWS_SERVER_2022_CORE
|
56 | */
|
57 | static readonly WINDOWS_SERVER_2022_CORE: OperatingSystemFamily;
|
58 | /**
|
59 | * WINDOWS_SERVER_2022_FULL
|
60 | */
|
61 | static readonly WINDOWS_SERVER_2022_FULL: OperatingSystemFamily;
|
62 | /**
|
63 | * WINDOWS_SERVER_20H2_CORE
|
64 | */
|
65 | static readonly WINDOWS_SERVER_20H2_CORE: OperatingSystemFamily;
|
66 | /**
|
67 | * Other operating system family.
|
68 | *
|
69 | * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html#cfn-ecs-taskdefinition-runtimeplatform-operatingsystemfamily for all available operating system family.
|
70 | *
|
71 | * @param family operating system family.
|
72 | *
|
73 | */
|
74 | static of(family: string): OperatingSystemFamily;
|
75 | /**
|
76 | *
|
77 | * @param _operatingSystemFamily The operating system family.
|
78 | */
|
79 | private constructor();
|
80 | }
|
81 | /**
|
82 | * The interface for Runtime Platform.
|
83 | */
|
84 | export interface RuntimePlatform {
|
85 | /**
|
86 | * The CpuArchitecture for Fargate Runtime Platform.
|
87 | *
|
88 | * @default - Undefined.
|
89 | */
|
90 | readonly cpuArchitecture?: CpuArchitecture;
|
91 | /**
|
92 | * The operating system for Fargate Runtime Platform.
|
93 | *
|
94 | * @default - Undefined.
|
95 | */
|
96 | readonly operatingSystemFamily?: OperatingSystemFamily;
|
97 | }
|