interface CfnMonitoringSubscriptionProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudFront.CfnMonitoringSubscriptionProps | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnMonitoringSubscriptionProps | 
|  Java | software.amazon.awscdk.services.cloudfront.CfnMonitoringSubscriptionProps | 
|  Python | aws_cdk.aws_cloudfront.CfnMonitoringSubscriptionProps | 
|  TypeScript | aws-cdk-lib»aws_cloudfront»CfnMonitoringSubscriptionProps | 
Properties for defining a CfnMonitoringSubscription.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const cfnMonitoringSubscriptionProps: cloudfront.CfnMonitoringSubscriptionProps = {
  distributionId: 'distributionId',
  monitoringSubscription: {
    realtimeMetricsSubscriptionConfig: {
      realtimeMetricsSubscriptionStatus: 'realtimeMetricsSubscriptionStatus',
    },
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| distribution | string | The ID of the distribution that you are enabling metrics for. | 
| monitoring | IResolvable | Monitoring | A subscription configuration for additional CloudWatch metrics. | 
distributionId
Type:
string
The ID of the distribution that you are enabling metrics for.
monitoringSubscription
Type:
IResolvable | Monitoring
A subscription configuration for additional CloudWatch metrics.
