Interface CfnContainer.IMetricPolicyRuleProperty
A setting that enables metrics at the object level.
Namespace: Amazon.CDK.AWS.MediaStore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMetricPolicyRuleProperty
Syntax (vb)
Public Interface 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
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. |
Properties
ObjectGroup
A path or file name that defines which objects to include in the group.
string ObjectGroup { get; }
Property Value
System.String
Remarks
ObjectGroupName
A name that allows you to refer to the object group.
string ObjectGroupName { get; }
Property Value
System.String