AWS::EC2::NetworkPerformanceMetricSubscription - AWS CloudFormation (original) (raw)
Describes Infrastructure Performance subscriptions.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Type" : "AWS::EC2::NetworkPerformanceMetricSubscription",
"Properties" : {
"Destination" : String,
"Metric" : String,
"Source" : String,
"Statistic" : String
}
}
YAML
Type: AWS::EC2::NetworkPerformanceMetricSubscription
Properties:
Destination: String
Metric: String
Source: String
Statistic: String
Properties
Destination
The Region or Availability Zone that's the target for the subscription. For example, eu-west-1
.
Required: Yes
Type: String
Update requires: Replacement
Metric
The metric used for the subscription.
Required: Yes
Type: String
Allowed values: aggregate-latency
Update requires: Replacement
Source
The Region or Availability Zone that's the source for the subscription. For example, us-east-1
.
Required: Yes
Type: String
Update requires: Replacement
Statistic
The statistic used for the subscription.
Required: Yes
Type: String
Allowed values: p50
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the primaryIdentifier
property, which consists of the following properties: source
, destination
, metric
, and statistic
, with each value separated by a pipe (|). For example, { "Ref": "us-east-1|us-east-2|aggregate-latency|p50" }
.
For more information about using the Ref
function, see Ref.