"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudfrontRequestsMetric = void 0;
const aws_cdk_lib_1 = require("aws-cdk-lib");
const _1 = require(".");
class CloudfrontRequestsMetric extends aws_cdk_lib_1.aws_cloudwatch.Metric {
    constructor(props) {
        var _a;
        super((0, _1.cloudfrontMetricPropsToMetricProps)(props, 'Requests', (_a = props.label) !== null && _a !== void 0 ? _a : 'Requests', aws_cdk_lib_1.aws_cloudwatch.Statistic.SUM));
    }
}
exports.CloudfrontRequestsMetric = CloudfrontRequestsMetric;
