Skip to content

Enables Infrastructure Performance subscriptions

Description

Enables Infrastructure Performance subscriptions.

Usage

ec2_enable_aws_network_performance_metric_subscription(Source,
  Destination, Metric, Statistic, DryRun)

Arguments

  • Source

    The source Region (like us-east-1) or Availability Zone ID (like use1-az1) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.

  • Destination

    The target Region (like us-east-2) or Availability Zone ID (like use2-az2) that the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability Zones must be in the same Region.

  • Metric

    The metric used for the enabled subscription.

  • Statistic

    The statistic used for the enabled subscription.

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  Output = TRUE|FALSE
)

Request syntax

svc$enable_aws_network_performance_metric_subscription(
  Source = "string",
  Destination = "string",
  Metric = "aggregate-latency",
  Statistic = "p50",
  DryRun = TRUE|FALSE
)