Class: Aws::MediaStore::Types::MetricPolicyRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

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)


584
585
586
587
588
589
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 584

class MetricPolicyRule < Struct.new(
  :object_group,
  :object_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#object_group_nameString

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

Returns:

  • (String)


584
585
586
587
588
589
# File 'gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/types.rb', line 584

class MetricPolicyRule < Struct.new(
  :object_group,
  :object_group_name)
  SENSITIVE = []
  include Aws::Structure
end