Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data MetricsConfiguration Source #
An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.
See: newMetricsConfiguration
smart constructor.
MetricsConfiguration' | |
|
Instances
newMetricsConfiguration :: MetricsConfiguration Source #
Create a value of MetricsConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudMetricEnabled:MetricsConfiguration'
, metricsConfiguration_cloudMetricEnabled
- A Boolean that specifies whether cloud metrics are collected.
$sel:metricRuleRoleArn:MetricsConfiguration'
, metricsConfiguration_metricRuleRoleArn
- The ARN of the role that is used to collect cloud metrics.
metricsConfiguration_cloudMetricEnabled :: Lens' MetricsConfiguration (Maybe Bool) Source #
A Boolean that specifies whether cloud metrics are collected.
metricsConfiguration_metricRuleRoleArn :: Lens' MetricsConfiguration (Maybe Text) Source #
The ARN of the role that is used to collect cloud metrics.