Provides a resource to manage an Infrastructure Performance subscription.
resource "aws_vpc_network_performance_metric_subscription" "example" {
source = "us-east-1"
destination = "us-west-1"
}
This resource supports the following arguments:
destination
- (Required) The target Region or Availability Zone that the metric subscription is enabled for. For example, eu-west-1
.metric
- (Optional) The metric used for the enabled subscription. Valid values: aggregate-latency
. Default: aggregate-latency
.source
- (Required) The source Region or Availability Zone that the metric subscription is enabled for. For example, us-east-1
.statistic
- (Optional) The statistic used for the enabled subscription. Valid values: p50
. Default: p50
.This resource exports the following attributes in addition to the arguments above:
period
- The data aggregation time for the subscription.