Skip to main content

aws_network_performance_metric_subscriptions

Creates, updates, deletes, gets or lists an aws_network_performance_metric_subscriptions resource.

Overview

Nameaws_network_performance_metric_subscriptions
TypeResource
Idaws.ec2.aws_network_performance_metric_subscriptions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destinationstringThe Region or Availability Zone that's the target for the subscription. For example, eu-west-1.
metricstringThe metric used for the subscription.
periodstringThe data aggregation time for the subscription.
sourcestringThe Region or Availability Zone that's the source for the subscription. For example, us-east-1.
statisticstringThe statistic used for the subscription.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_aws_network_performance_metric_subscriptionsselectregionMaxResults, NextToken, Filter, DryRunDescribes the current Infrastructure Performance metric subscriptions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
FilterarrayOne or more filters.
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.

SELECT examples

Describes the current Infrastructure Performance metric subscriptions.

SELECT
destination,
metric,
period,
source,
statistic
FROM aws.ec2.aws_network_performance_metric_subscriptions
WHERE region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
AND DryRun = '{{ DryRun }}'
;