Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-ecs/lib/ecs-canned-metrics.generated.d.ts
2026-05-06 18:55:16 -05:00

48 lines
1.3 KiB
TypeScript

export interface MetricWithDims<D> {
readonly namespace: string;
readonly metricName: string;
readonly statistic: string;
readonly dimensionsMap: D;
}
export declare class ECSMetrics {
static cpuUtilizationAverage(this: void, dimensions: {
ClusterName: string;
ServiceName: string;
}): MetricWithDims<{
ClusterName: string;
ServiceName: string;
}>;
static cpuUtilizationAverage(this: void, dimensions: {
ClusterName: string;
}): MetricWithDims<{
ClusterName: string;
}>;
static memoryUtilizationAverage(this: void, dimensions: {
ClusterName: string;
ServiceName: string;
}): MetricWithDims<{
ClusterName: string;
ServiceName: string;
}>;
static memoryUtilizationAverage(this: void, dimensions: {
ClusterName: string;
}): MetricWithDims<{
ClusterName: string;
}>;
static cpuReservationAverage(this: void, dimensions: {
ClusterName: string;
}): MetricWithDims<{
ClusterName: string;
}>;
static memoryReservationAverage(this: void, dimensions: {
ClusterName: string;
}): MetricWithDims<{
ClusterName: string;
}>;
static gpuReservationAverage(this: void, dimensions: {
ClusterName: string;
}): MetricWithDims<{
ClusterName: string;
}>;
}