AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFront::MonitoringSubscription

CloudFront MonitoringSubscription

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

Properties

2 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DistributionId
string
RequiredCreate-only
MonitoringSubscription
MonitoringSubscription
Required

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::MonitoringSubscription

Resources:
  MyResource:
    Type: AWS::CloudFront::MonitoringSubscription
    Properties:
      DistributionId: "my-distributionid"
      MonitoringSubscription: "value"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudfront:CreateMonitoringSubscription

delete

cloudfront:DeleteMonitoringSubscription

read

cloudfront:GetMonitoringSubscription

Get the CloudFront Cheat Sheet

Everything you need to know about CloudFront on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFront
Properties2
Required2
TaggingNot supported
Primary IDDistributionId

Supported Operations

CreateDeleteRead

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DistributionId

External Links