Class: Aws::CloudFront::Types::CreateMonitoringSubscriptionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_idString

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

Returns:

  • (String)


2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-cloudfront/types.rb', line 2366

class CreateMonitoringSubscriptionRequest < Struct.new(
  :distribution_id,
  :monitoring_subscription)
  SENSITIVE = []
  include Aws::Structure
end

#monitoring_subscriptionTypes::MonitoringSubscription

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



2366
2367
2368
2369
2370
2371
# File 'lib/aws-sdk-cloudfront/types.rb', line 2366

class CreateMonitoringSubscriptionRequest < Struct.new(
  :distribution_id,
  :monitoring_subscription)
  SENSITIVE = []
  include Aws::Structure
end