interface MetricPolicyRuleProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaStore.CfnContainer.MetricPolicyRuleProperty |
Java | software.amazon.awscdk.services.mediastore.CfnContainer.MetricPolicyRuleProperty |
Python | aws_cdk.aws_mediastore.CfnContainer.MetricPolicyRuleProperty |
TypeScript | @aws-cdk/aws-mediastore » CfnContainer » MetricPolicyRuleProperty |
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediastore from '@aws-cdk/aws-mediastore';
const metricPolicyRuleProperty: mediastore.CfnContainer.MetricPolicyRuleProperty = {
objectGroup: 'objectGroup',
objectGroupName: 'objectGroupName',
};
Properties
Name | Type | Description |
---|---|---|
object | string | A path or file name that defines which objects to include in the group. |
object | string | A name that allows you to refer to the object group. |
objectGroup
Type:
string
A path or file name that defines which objects to include in the group.
Wildcards (*) are acceptable.
objectGroupName
Type:
string
A name that allows you to refer to the object group.