aws-cdk-lib.aws_mediastore.CfnContainer.MetricPolicyRuleProperty

interface MetricPolicyRuleProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaStore.CfnContainer.MetricPolicyRuleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediastore#CfnContainer_MetricPolicyRuleProperty
Javasoftware.amazon.awscdk.services.mediastore.CfnContainer.MetricPolicyRuleProperty
Pythonaws_cdk.aws_mediastore.CfnContainer.MetricPolicyRuleProperty
TypeScript aws-cdk-lib » 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 { aws_mediastore as mediastore } from 'aws-cdk-lib';
const metricPolicyRuleProperty: mediastore.CfnContainer.MetricPolicyRuleProperty = {
  objectGroup: 'objectGroup',
  objectGroupName: 'objectGroupName',
};

Properties

NameTypeDescription
objectGroupstringA path or file name that defines which objects to include in the group.
objectGroupNamestringA 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.