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
Contents
- ObjectGroup
-
A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 900.
Pattern:
/?(?:[A-Za-z0-9_=:\.\-\~\*]+/){0,10}(?:[A-Za-z0-9_=:\.\-\~\*]+)?/?
Required: Yes
- ObjectGroupName
-
A name that allows you to refer to the object group.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 30.
Pattern:
[a-zA-Z0-9_]+
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: