Class: Aws::CloudFront::Types::CreateMonitoringSubscriptionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CreateMonitoringSubscriptionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass CreateMonitoringSubscriptionRequest data as a hash:
{
distribution_id: "string", # required
monitoring_subscription: { # required
realtime_metrics_subscription_config: {
realtime_metrics_subscription_status: "Enabled", # required, accepts Enabled, Disabled
},
},
}
Constant Summary collapse
- SENSITIVE =
[]
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.
2732 2733 2734 2735 2736 2737 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2732 class CreateMonitoringSubscriptionRequest < Struct.new( :distribution_id, :monitoring_subscription) SENSITIVE = [] include Aws::Structure end |
#monitoring_subscription ⇒ Types::MonitoringSubscription
A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.
2732 2733 2734 2735 2736 2737 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 2732 class CreateMonitoringSubscriptionRequest < Struct.new( :distribution_id, :monitoring_subscription) SENSITIVE = [] include Aws::Structure end |