class Aws::MediaStore::Types::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][1

to allow up to 300 rules per policy.

[1]: console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas

@note When making an API call, you may pass MetricPolicyRule

data as a hash:

    {
      object_group: "ObjectGroup", # required
      object_group_name: "ObjectGroupName", # required
    }

@!attribute [rw] object_group

A path or file name that defines which objects to include in the
group. Wildcards (*) are acceptable.
@return [String]

@!attribute [rw] object_group_name

A name that allows you to refer to the object group.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/MetricPolicyRule AWS API Documentation

Constants

SENSITIVE