Interface CfnContainer.MetricPolicyRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainer.MetricPolicyRuleProperty.Jsii$Proxy
- Enclosing class:
CfnContainer
@Stability(Stable)
public static interface CfnContainer.MetricPolicyRuleProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.mediastore.*; MetricPolicyRuleProperty metricPolicyRuleProperty = MetricPolicyRuleProperty.builder() .objectGroup("objectGroup") .objectGroupName("objectGroupName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnContainer.MetricPolicyRuleProperty
static final class
An implementation forCfnContainer.MetricPolicyRuleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A path or file name that defines which objects to include in the group.A name that allows you to refer to the object group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getObjectGroup
A path or file name that defines which objects to include in the group.Wildcards (*) are acceptable.
-
getObjectGroupName
A name that allows you to refer to the object group. -
builder
-