You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::CreateMonitoringSubscriptionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CreateMonitoringSubscriptionRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateMonitoringSubscriptionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
distribution_id: "string", # required
monitoring_subscription: { # required
realtime_metrics_subscription_config: {
realtime_metrics_subscription_status: "Enabled", # required, accepts Enabled, Disabled
},
},
}
Instance Attribute Summary collapse
-
#distribution_id ⇒ String
The ID of the distribution that you are enabling metrics for.
-
#monitoring_subscription ⇒ Types::MonitoringSubscription
A monitoring subscription.
Instance Attribute Details
#distribution_id ⇒ String
The ID of the distribution that you are enabling metrics for.
#monitoring_subscription ⇒ Types::MonitoringSubscription
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.