@@ -173,15 +173,64 @@ function renderCustomMetric(metric?: cloudwatch.IMetric): CfnScalingPolicy.Custo
173
173
* One of the predefined autoscaling metrics
174
174
*/
175
175
export enum PredefinedMetric {
176
+ /**
177
+ * DYNAMODB_READ_CAPACITY_UTILIZATIO
178
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
179
+ */
176
180
DYNAMODB_READ_CAPACITY_UTILIZATION = 'DynamoDBReadCapacityUtilization' ,
181
+ /**
182
+ * DYANMODB_WRITE_CAPACITY_UTILIZATION
183
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
184
+ */
177
185
DYANMODB_WRITE_CAPACITY_UTILIZATION = 'DynamoDBWriteCapacityUtilization' ,
186
+ /**
187
+ * ALB_REQUEST_COUNT_PER_TARGET
188
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
189
+ */
178
190
ALB_REQUEST_COUNT_PER_TARGET = 'ALBRequestCountPerTarget' ,
191
+ /**
192
+ * RDS_READER_AVERAGE_CPU_UTILIZATION
193
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
194
+ */
179
195
RDS_READER_AVERAGE_CPU_UTILIZATION = 'RDSReaderAverageCPUUtilization' ,
196
+ /**
197
+ * RDS_READER_AVERAGE_DATABASE_CONNECTIONS
198
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
199
+ */
180
200
RDS_READER_AVERAGE_DATABASE_CONNECTIONS = 'RDSReaderAverageDatabaseConnections' ,
201
+ /**
202
+ * EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION
203
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
204
+ */
181
205
EC2_SPOT_FLEET_REQUEST_AVERAGE_CPU_UTILIZATION = 'EC2SpotFleetRequestAverageCPUUtilization' ,
206
+ /**
207
+ * EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN
208
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
209
+ */
182
210
EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_IN = 'EC2SpotFleetRequestAverageNetworkIn' ,
211
+ /**
212
+ * EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT
213
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
214
+ */
183
215
EC2_SPOT_FLEET_REQUEST_AVERAGE_NETWORK_OUT = 'EC2SpotFleetRequestAverageNetworkOut' ,
216
+ /**
217
+ * SAGEMAKER_VARIANT_INVOCATIONS_PER_INSTANCE
218
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
219
+ */
184
220
SAGEMAKER_VARIANT_INVOCATIONS_PER_INSTANCE = 'SageMakerVariantInvocationsPerInstance' ,
221
+ /**
222
+ * ECS_SERVICE_AVERAGE_CPU_UTILIZATION
223
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
224
+ */
185
225
ECS_SERVICE_AVERAGE_CPU_UTILIZATION = 'ECSServiceAverageCPUUtilization' ,
226
+ /**
227
+ * ECS_SERVICE_AVERAGE_CPU_UTILIZATION
228
+ * @see https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PredefinedMetricSpecification.html
229
+ */
186
230
ECS_SERVICE_AVERAGE_MEMORY_UTILIZATION = 'ECSServiceAverageMemoryUtilization' ,
231
+ /**
232
+ * LAMBDA_PROVISIONED_CONCURRENCY_UTILIZATION
233
+ * @see https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics.html#monitoring-metrics-concurrency
234
+ */
235
+ LAMBDA_PROVISIONED_CONCURRENCY_UTILIZATION = "LambdaProvisionedConcurrencyUtilization" ,
187
236
}
0 commit comments