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