Skip to content

Get Monitoring Subscription

cloudfront_get_monitoring_subscription R Documentation

Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution

Description

Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution.

Usage

cloudfront_get_monitoring_subscription(DistributionId)

Arguments

DistributionId

[required] The ID of the distribution that you are getting metrics information for.

Value

A list with the following syntax:

list(
  MonitoringSubscription = list(
    RealtimeMetricsSubscriptionConfig = list(
      RealtimeMetricsSubscriptionStatus = "Enabled"|"Disabled"
    )
  )
)

Request syntax

svc$get_monitoring_subscription(
  DistributionId = "string"
)