You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaStore::Types::MetricPolicyRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaStore::Types::MetricPolicyRule
- Defined in:
- (unknown)
Overview
When passing MetricPolicyRule as input to an Aws::Client method, you can use a vanilla Hash:
{
object_group: "ObjectGroup", # required
object_group_name: "ObjectGroupName", # required
}
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 to allow up to 300 rules per policy.
Instance Attribute Summary collapse
-
#object_group ⇒ String
A path or file name that defines which objects to include in the group.
-
#object_group_name ⇒ String
A name that allows you to refer to the object group.
Instance Attribute Details
#object_group ⇒ String
A path or file name that defines which objects to include in the group. Wildcards (*) are acceptable.
#object_group_name ⇒ String
A name that allows you to refer to the object group.