Class: Aws::MediaStore::Types::MetricPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaStore::Types::MetricPolicy
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-mediastore/types.rb
Overview
The metric policy that is associated with the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. In the policy, you must indicate whether you want MediaStore to send container-level metrics. You can also include rules to define groups of objects that you want MediaStore to send object-level metrics for.
To view examples of how to construct a metric policy for your use case, see [Example Metric Policies].
[1]: docs.aws.amazon.com/mediastore/latest/ug/policies-metric-examples.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#container_level_metrics ⇒ String
A setting to enable or disable metrics at the container level.
-
#metric_policy_rules ⇒ Array<Types::MetricPolicyRule>
A parameter that holds an array of rules that enable metrics at the object level.
Instance Attribute Details
#container_level_metrics ⇒ String
A setting to enable or disable metrics at the container level.
556 557 558 559 560 561 |
# File 'lib/aws-sdk-mediastore/types.rb', line 556 class MetricPolicy < Struct.new( :container_level_metrics, :metric_policy_rules) SENSITIVE = [] include Aws::Structure end |
#metric_policy_rules ⇒ Array<Types::MetricPolicyRule>
A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also [request a quota increase] to allow up to 300 rules per policy.
[1]: console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas
556 557 558 559 560 561 |
# File 'lib/aws-sdk-mediastore/types.rb', line 556 class MetricPolicy < Struct.new( :container_level_metrics, :metric_policy_rules) SENSITIVE = [] include Aws::Structure end |