aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
23 lines (22 loc) • 592 B
TypeScript
export interface MetricWithDims<D> {
readonly namespace: string;
readonly metricName: string;
readonly statistic: string;
readonly dimensionsMap: D;
}
export declare class S3Metrics {
static bucketSizeBytesAverage(dimensions: {
BucketName: string;
StorageType: string;
}): MetricWithDims<{
BucketName: string;
StorageType: string;
}>;
static numberOfObjectsAverage(dimensions: {
BucketName: string;
StorageType: string;
}): MetricWithDims<{
BucketName: string;
StorageType: string;
}>;
}