File tree 1 file changed +45
-0
lines changed
packages/@aws-cdk/aws-apprunner-alpha/lib
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,16 @@ export enum ImageRepositoryType {
29
29
*
30
30
*/
31
31
export class Cpu {
32
+ /**
33
+ * 0.25 vCPU
34
+ */
35
+ public static readonly QUARTER_VCPU = Cpu . of ( '0.25 vCPU' ) ;
36
+
37
+ /**
38
+ * 0.5 vCPU
39
+ */
40
+ public static readonly HALF_VCPU = Cpu . of ( '0.5 vCPU' ) ;
41
+
32
42
/**
33
43
* 1 vCPU
34
44
*/
@@ -39,6 +49,11 @@ export class Cpu {
39
49
*/
40
50
public static readonly TWO_VCPU = Cpu . of ( '2 vCPU' )
41
51
52
+ /**
53
+ * 4 vCPU
54
+ */
55
+ public static readonly FOUR_VCPU = Cpu . of ( '4 vCPU' )
56
+
42
57
/**
43
58
* Custom CPU unit
44
59
*
@@ -60,6 +75,16 @@ export class Cpu {
60
75
* The amount of memory reserved for each instance of your App Runner service.
61
76
*/
62
77
export class Memory {
78
+ /**
79
+ * 0.5 GB(for 0.25 vCPU)
80
+ */
81
+ public static readonly HALF_GB = Memory . of ( '0.5 GB' )
82
+
83
+ /**
84
+ * 1 GB(for 0.25 or 0.5 vCPU)
85
+ */
86
+ public static readonly ONE_GB = Memory . of ( '1 GB' )
87
+
63
88
/**
64
89
* 2 GB(for 1 vCPU)
65
90
*/
@@ -75,6 +100,26 @@ export class Memory {
75
100
*/
76
101
public static readonly FOUR_GB = Memory . of ( '4 GB' )
77
102
103
+ /**
104
+ * 6 GB(for 2 vCPU)
105
+ */
106
+ public static readonly SIX_GB = Memory . of ( '6 GB' )
107
+
108
+ /**
109
+ * 8 GB(for 4 vCPU)
110
+ */
111
+ public static readonly EIGHT_GB = Memory . of ( '8 GB' )
112
+
113
+ /**
114
+ * 10 GB(for 4 vCPU)
115
+ */
116
+ public static readonly TEN_GB = Memory . of ( '10 GB' )
117
+
118
+ /**
119
+ * 12 GB(for 4 vCPU)
120
+ */
121
+ public static readonly TWELVE_GB = Memory . of ( '12 GB' )
122
+
78
123
/**
79
124
* Custom Memory unit
80
125
*
You can’t perform that action at this time.
0 commit comments