Interface ICfnMonitoringSubscriptionProps
Properties for defining a CfnMonitoringSubscription
.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnMonitoringSubscriptionProps
Syntax (vb)
Public Interface ICfnMonitoringSubscriptionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var cfnMonitoringSubscriptionProps = new CfnMonitoringSubscriptionProps {
DistributionId = "distributionId",
MonitoringSubscription = new MonitoringSubscriptionProperty {
RealtimeMetricsSubscriptionConfig = new RealtimeMetricsSubscriptionConfigProperty {
RealtimeMetricsSubscriptionStatus = "realtimeMetricsSubscriptionStatus"
}
}
};
Synopsis
Properties
DistributionId | The ID of the distribution that you are enabling metrics for. |
MonitoringSubscription | A subscription configuration for additional CloudWatch metrics. |
Properties
DistributionId
The ID of the distribution that you are enabling metrics for.
string DistributionId { get; }
Property Value
System.String
Remarks
MonitoringSubscription
A subscription configuration for additional CloudWatch metrics.
object MonitoringSubscription { get; }
Property Value
System.Object