Skip to content

Resource: awsVpcNetworkPerformanceMetricSubscription

Provides a resource to manage an Infrastructure Performance subscription.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.vpcNetworkPerformanceMetricSubscription.VpcNetworkPerformanceMetricSubscription(
  this,
  "example",
  {
    destination: "us-west-1",
    source: "us-east-1",
  }
);

Argument Reference

The following arguments are supported:

  • destination - (Required) The target Region or Availability Zone that the metric subscription is enabled for. For example, euWest1.
  • metric - (Optional) The metric used for the enabled subscription. Valid values: aggregateLatency. Default: aggregateLatency.
  • source - (Required) The source Region or Availability Zone that the metric subscription is enabled for. For example, usEast1.
  • statistic - (Optional) The statistic used for the enabled subscription. Valid values: p50. Default: p50.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • period - The data aggregation time for the subscription.