AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::NetworkPerformanceMetricSubscription

CfnNetworkPerformanceMetricSubscription

Describes Infrastructure Performance subscriptions.

Import

import { CfnNetworkPerformanceMetricSubscription } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnNetworkPerformanceMetricSubscription

Properties

Configuration passed to the constructor as CfnNetworkPerformanceMetricSubscriptionProps.

destinationRequired
string

The Region or Availability Zone that's the target for the subscription. For example, `eu-west-1` .

metricRequired
string

The metric used for the subscription.

sourceRequired
string

The Region or Availability Zone that's the source for the subscription. For example, `us-east-1` .

statisticRequired
string

The statistic used for the subscription.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic