AWS::MediaStore::Container MetricPolicyRule
A setting that enables metrics at the object level. Each rule contains an object group and an object group name. If the policy includes the MetricPolicyRules parameter, you must include at least one rule. Each metric policy can include up to five rules by default. You can also request a quota increase
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ObjectGroup" :
String
, "ObjectGroupName" :String
}
YAML
ObjectGroup:
String
ObjectGroupName:String
Properties
ObjectGroup
-
A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.
Required: Yes
Type: String
Pattern:
/?(?:[A-Za-z0-9_=:\.\-\~\*]+/){0,10}(?:[A-Za-z0-9_=:\.\-\~\*]+)?/?
Minimum:
1
Maximum:
900
Update requires: No interruption
ObjectGroupName
-
A name that allows you to refer to the object group.
Required: Yes
Type: String
Pattern:
[a-zA-Z0-9_]+
Minimum:
1
Maximum:
30
Update requires: No interruption