Skip to content

/AWS1/CL_MDL=>CREATECLOUDWATCHALARMTMPL()

About CreateCloudWatchAlarmTemplate

Creates a cloudwatch alarm template to dynamically generate cloudwatch metric alarms on targeted resource types.

Method Signature

IMPORTING

Required arguments:

IV_COMPARISONOPERATOR TYPE /AWS1/MDLCLOUDWATCHALRMTMPLC00 /AWS1/MDLCLOUDWATCHALRMTMPLC00

ComparisonOperator

IV_EVALUATIONPERIODS TYPE /AWS1/MDL__INTEGERMIN1 /AWS1/MDL__INTEGERMIN1

The number of periods over which data is compared to the specified threshold.

IV_GROUPIDENTIFIER TYPE /AWS1/MDL__STRINGPATTERNS /AWS1/MDL__STRINGPATTERNS

A cloudwatch alarm template group's identifier. Can be either be its id or current name.

IV_METRICNAME TYPE /AWS1/MDL__STRINGMAX64 /AWS1/MDL__STRINGMAX64

The name of the metric associated with the alarm. Must be compatible with targetResourceType.

IV_NAME TYPE /AWS1/MDL__STRMIN1MAX255PATS /AWS1/MDL__STRMIN1MAX255PATS

A resource's name. Names must be unique within the scope of a resource type in a specific region.

IV_PERIOD TYPE /AWS1/MDL__INTEGERMIN10MAX8600 /AWS1/MDL__INTEGERMIN10MAX8600

The period, in seconds, over which the specified statistic is applied.

IV_STATISTIC TYPE /AWS1/MDLCLOUDWATCHALRMTMPLS00 /AWS1/MDLCLOUDWATCHALRMTMPLS00

Statistic

IV_TARGETRESOURCETYPE TYPE /AWS1/MDLCLOUDWATCHALRMTMPLT00 /AWS1/MDLCLOUDWATCHALRMTMPLT00

TargetResourceType

IV_THRESHOLD TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The threshold value to compare with the specified statistic.

IV_TREATMISSINGDATA TYPE /AWS1/MDLCLOUDWATCHALRMTMPLT01 /AWS1/MDLCLOUDWATCHALRMTMPLT01

TreatMissingData

Optional arguments:

IV_DATAPOINTSTOALARM TYPE /AWS1/MDL__INTEGERMIN1 /AWS1/MDL__INTEGERMIN1

The number of datapoints within the evaluation period that must be breaching to trigger the alarm.

IV_DESCRIPTION TYPE /AWS1/MDL__STRINGMIN0MAX1024 /AWS1/MDL__STRINGMIN0MAX1024

A resource's optional description.

IT_TAGS TYPE /AWS1/CL_MDLTAGMAP_W=>TT_TAGMAP TT_TAGMAP

Tags

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MDLCRECLOUDWATCHALR01 /AWS1/CL_MDLCRECLOUDWATCHALR01