This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ApplicationSignals::ServiceLevelObjective RequestBasedSliMetric
This structure contains the information about the metric that is used for a request-based SLO.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "DependencyConfig" :DependencyConfig, "KeyAttributes" :String, "MetricType" :String, "MonitoredRequestCountMetric" :MonitoredRequestCountMetric, "OperationName" :String, "TotalRequestCountMetric" :[ MetricDataQuery, ... ]}
YAML
DependencyConfig:DependencyConfigKeyAttributes:StringMetricType:StringMonitoredRequestCountMetric:MonitoredRequestCountMetricOperationName:StringTotalRequestCountMetric:- MetricDataQuery
Properties
DependencyConfig-
Identifies the dependency using the
DependencyKeyAttributesandDependencyOperationName.Required: No
Type: DependencyConfig
Update requires: No interruption
KeyAttributes-
This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields.
-
Typedesignates the type of object that this SLO is related to. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to. -
AwsAccountIdallows you to create an SLO for an object that exists in another account.
Required: No
Type: String
Pattern:
^.+$Update requires: No interruption
-
MetricType-
If the SLO monitors either the
LATENCYorAVAILABILITYmetric that Application Signals collects, this field displays which of those metrics is used.Required: No
Type: String
Allowed values:
LATENCY | AVAILABILITYUpdate requires: No interruption
MonitoredRequestCountMetric-
Use this structure to define the metric that you want to use as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in
TotalRequestCountMetricwill be divided by the number found forMonitoredRequestCountMetricto determine the percentage of successful requests that this SLO tracks.Required: No
Type: MonitoredRequestCountMetric
Update requires: No interruption
OperationName-
If the SLO monitors a specific operation of the service, this field displays that operation name.
Required: No
Type: String
Minimum:
1Maximum:
255Update requires: No interruption
TotalRequestCountMetric-
This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in
MonitoredRequestCountMetric.Required: No
Type: Array of MetricDataQuery
Update requires: No interruption