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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html

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 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-destination

metric

The metric used for the subscription.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-metric

source

The Region or Availability Zone that’s the source for the subscription.

For example, us-east-1 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-source

statistic

The statistic used for the subscription.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkperformancemetricsubscription.html#cfn-ec2-networkperformancemetricsubscription-statistic