AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateMonitoringSubscription operation. Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.

For more information, see Viewing additional CloudFront distribution metrics in the Amazon CloudFront Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.CreateMonitoringSubscriptionRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class CreateMonitoringSubscriptionRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The CreateMonitoringSubscriptionRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DistributionId System.String

Gets and sets the property DistributionId.

The ID of the distribution that you are enabling metrics for.

Public Property MonitoringSubscription Amazon.CloudFront.Model.MonitoringSubscription

Gets and sets the property MonitoringSubscription.

A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5