Skip to content

/AWS1/CL_ASCMETRIC

Represents a specific metric.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_namespace TYPE /AWS1/ASCMETRICNAMESPACE /AWS1/ASCMETRICNAMESPACE

The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

iv_metricname TYPE /AWS1/ASCMETRICNAME /AWS1/ASCMETRICNAME

The name of the metric.

Optional arguments:

it_dimensions TYPE /AWS1/CL_ASCMETRICDIMENSION=>TT_METRICDIMENSIONS TT_METRICDIMENSIONS

The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.


Queryable Attributes

Namespace

The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Accessible with the following methods

Method Description
GET_NAMESPACE() Getter for NAMESPACE, with configurable default
ASK_NAMESPACE() Getter for NAMESPACE w/ exceptions if field has no value
HAS_NAMESPACE() Determine if NAMESPACE has a value

MetricName

The name of the metric.

Accessible with the following methods

Method Description
GET_METRICNAME() Getter for METRICNAME, with configurable default
ASK_METRICNAME() Getter for METRICNAME w/ exceptions if field has no value
HAS_METRICNAME() Determine if METRICNAME has a value

Dimensions

The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

Accessible with the following methods

Method Description
GET_DIMENSIONS() Getter for DIMENSIONS, with configurable default
ASK_DIMENSIONS() Getter for DIMENSIONS w/ exceptions if field has no value
HAS_DIMENSIONS() Determine if DIMENSIONS has a value