CfnNetworkPerformanceMetricSubscriptionProps
- class aws_cdk.aws_ec2.CfnNetworkPerformanceMetricSubscriptionProps(*, destination, metric, source, statistic)
Bases:
object
Properties for defining a
CfnNetworkPerformanceMetricSubscription
.- Parameters:
destination (
str
) – The Region or Availability Zone that’s the target for the subscription. For example,eu-west-1
.metric (
str
) – The metric used for the subscription.source (
str
) – The Region or Availability Zone that’s the source for the subscription. For example,us-east-1
.statistic (
str
) – The statistic used for the subscription.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2 as ec2 cfn_network_performance_metric_subscription_props = ec2.CfnNetworkPerformanceMetricSubscriptionProps( destination="destination", metric="metric", source="source", statistic="statistic" )
Attributes
- destination
The Region or Availability Zone that’s the target for the subscription.
For example,
eu-west-1
.
- metric
The metric used for the subscription.
- source
The Region or Availability Zone that’s the source for the subscription.
For example,
us-east-1
.
- statistic
The statistic used for the subscription.