Class CfnContainer.MetricPolicyRuleProperty
A setting that enables metrics at the object level.
Inheritance
System.Object
CfnContainer.MetricPolicyRuleProperty
Implements
Namespace: Amazon.CDK.AWS.MediaStore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetricPolicyRuleProperty : Object, CfnContainer.IMetricPolicyRuleProperty
Syntax (vb)
Public Class MetricPolicyRuleProperty
Inherits Object
Implements CfnContainer.IMetricPolicyRuleProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaStore;
var metricPolicyRuleProperty = new MetricPolicyRuleProperty {
ObjectGroup = "objectGroup",
ObjectGroupName = "objectGroupName"
};
Synopsis
Constructors
MetricPolicyRuleProperty() |
Properties
ObjectGroup | A path or file name that defines which objects to include in the group. |
ObjectGroupName | A name that allows you to refer to the object group. |
Constructors
MetricPolicyRuleProperty()
public MetricPolicyRuleProperty()
Properties
ObjectGroup
A path or file name that defines which objects to include in the group.
public string ObjectGroup { get; set; }
Property Value
System.String
Remarks
ObjectGroupName
A name that allows you to refer to the object group.
public string ObjectGroupName { get; set; }
Property Value
System.String