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

54 lines
1.6 KiB
TypeScript

import * as cw from "../../aws-cloudwatch";
declare module "./vpn" {
interface IVpnConnection {
/**
* Return the given named metric for this VPNConnection
*/
metric(metricName: string, props?: cw.MetricOptions): cw.Metric;
/**
* The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
*
* Average over 5 minutes
*/
metricTunnelState(props?: cw.MetricOptions): cw.Metric;
/**
* The bytes received through the VPN tunnel.
*
* Sum over 5 minutes
*/
metricTunnelDataIn(props?: cw.MetricOptions): cw.Metric;
/**
* The bytes sent through the VPN tunnel.
*
* Sum over 5 minutes
*/
metricTunnelDataOut(props?: cw.MetricOptions): cw.Metric;
}
}
declare module "./vpn" {
interface VpnConnectionBase {
/**
* Return the given named metric for this VPNConnection
*/
metric(metricName: string, props?: cw.MetricOptions): cw.Metric;
/**
* The state of the tunnel. 0 indicates DOWN and 1 indicates UP.
*
* Average over 5 minutes
*/
metricTunnelState(props?: cw.MetricOptions): cw.Metric;
/**
* The bytes received through the VPN tunnel.
*
* Sum over 5 minutes
*/
metricTunnelDataIn(props?: cw.MetricOptions): cw.Metric;
/**
* The bytes sent through the VPN tunnel.
*
* Sum over 5 minutes
*/
metricTunnelDataOut(props?: cw.MetricOptions): cw.Metric;
}
}