AWS::MediaStore::Container MetricPolicyRule - AWS CloudFormation

AWS::MediaStore::Container 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 to allow up to 300 rules per policy.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "ObjectGroup" : String, "ObjectGroupName" : String }

YAML

ObjectGroup: String ObjectGroupName: String

Properties

ObjectGroup

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

Required: Yes

Type: String

Minimum: 1

Maximum: 900

Pattern: /?(?:[A-Za-z0-9_=:\.\-\~\*]+/){0,10}(?:[A-Za-z0-9_=:\.\-\~\*]+)?/?

Update requires: No interruption

ObjectGroupName

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

Required: Yes

Type: String

Minimum: 1

Maximum: 30

Pattern: [a-zA-Z0-9_]+

Update requires: No interruption