aws-cdk-lib.aws_ec2.CfnNetworkPerformanceMetricSubscriptionProps

interface CfnNetworkPerformanceMetricSubscriptionProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnNetworkPerformanceMetricSubscriptionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnNetworkPerformanceMetricSubscriptionProps
Javasoftware.amazon.awscdk.services.ec2.CfnNetworkPerformanceMetricSubscriptionProps
Pythonaws_cdk.aws_ec2.CfnNetworkPerformanceMetricSubscriptionProps
TypeScript aws-cdk-lib » aws_ec2 » CfnNetworkPerformanceMetricSubscriptionProps

Properties for defining a CfnNetworkPerformanceMetricSubscription.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnNetworkPerformanceMetricSubscriptionProps: ec2.CfnNetworkPerformanceMetricSubscriptionProps = {
  destination: 'destination',
  metric: 'metric',
  source: 'source',
  statistic: 'statistic',
};

Properties

NameTypeDescription
destinationstringThe Region or Availability Zone that's the target for the subscription.
metricstringThe metric used for the subscription.
sourcestringThe Region or Availability Zone that's the source for the subscription.
statisticstringThe statistic used for the subscription.

destination

Type: string

The Region or Availability Zone that's the target for the subscription.

For example, eu-west-1 .


metric

Type: string

The metric used for the subscription.


source

Type: string

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

For example, us-east-1 .


statistic

Type: string

The statistic used for the subscription.