...
Property | Required | Value | Justification |
---|---|---|---|
DNSName | Yes | { "Fn::GetAtt": ["CloudFront", "DomainName"] } | For a CloudFront distribution, the domain name. |
EvaluateTargetHealth | No | N/A | Cannot be set for CloudFront distributions. |
HostedZoneId | Yes | “Z2FDTNDATAQYW2" | Always the hosted zone ID when an alias record is created for a CloudFront distribution. |
CloudFrontMonitoringSubscription
Property | Required | Value | Justification |
---|---|---|---|
DistributionId | Yes | { "Ref": "CloudFront" } | |
MonitoringSubscription | Yes | Object (Contains only RealTimeMetricsSubscriptionsConfig) | |
RealTimeMetricsSubscriptionConfig | No | Object (Contains only RealTimeMetricsSubscriptionStatus) | |
RealTimeMetricsSubscriptionStatus | Yes | “Enabled” |