aws_network_performance_metric_subscriptions
Creates, updates, deletes, gets or lists an aws_network_performance_metric_subscriptions resource.
Overview
| Name | aws_network_performance_metric_subscriptions |
| Type | Resource |
| Id | aws.ec2.aws_network_performance_metric_subscriptions |
Fields
The following fields are returned by SELECT queries:
- describe_aws_network_performance_metric_subscriptions
| Name | Datatype | Description |
|---|---|---|
destination | string | The Region or Availability Zone that's the target for the subscription. For example, eu-west-1. |
metric | string | The metric used for the subscription. |
period | string | The data aggregation time for the subscription. |
source | string | The Region or Availability Zone that's the source for the subscription. For example, us-east-1. |
statistic | string | The statistic used for the subscription. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_aws_network_performance_metric_subscriptions | select | region | MaxResults, NextToken, Filter, DryRun | Describes 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
DryRun | boolean | 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. |
Filter | array | One or more filters. |
MaxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
NextToken | string | The token for the next page of results. |
SELECT examples
- describe_aws_network_performance_metric_subscriptions
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 }}'
;