AWS::MediaStore::Container MetricPolicy - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::MediaStore::Container MetricPolicy

The metric policy that is associated with the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include rules to define groups of objects that you want MediaStore to send object-level metrics for.

To view examples of how to construct a metric policy for your use case, see Example Metric Policies.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "ContainerLevelMetrics" : String, "MetricPolicyRules" : [ MetricPolicyRule, ... ] }



A setting to enable or disable metrics at the container level.

Required: Yes

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption


A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.

Required: No

Type: Array of MetricPolicyRule

Minimum: 1

Maximum: 300

Update requires: No interruption