AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#object_groupString

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

Returns:

  • (String)

    A path or file name that defines which objects to include in the group.

#object_group_nameString

A name that allows you to refer to the object group.

Returns:

  • (String)

    A name that allows you to refer to the object group.