Skip to content

/AWS1/CL_DOGSVCRESOURCECOST

An object that contains information about the estimated monthly cost to analyze an Amazon Web Services resource. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_TYPE TYPE /AWS1/DOGRESOURCETYPE /AWS1/DOGRESOURCETYPE

The type of the Amazon Web Services resource.

IV_STATE TYPE /AWS1/DOGCOSTSTIMATIONSVCRES00 /AWS1/DOGCOSTSTIMATIONSVCRES00

The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

IV_COUNT TYPE /AWS1/DOGCOSTSTIMATIONSVCRES01 /AWS1/DOGCOSTSTIMATIONSVCRES01

The number of active resources analyzed for this service to create a monthly cost estimate.

IV_UNITCOST TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

IV_COST TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The total estimated monthly cost to analyze the active resources for this resource.


Queryable Attributes

Type

The type of the Amazon Web Services resource.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

State

The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

Count

The number of active resources analyzed for this service to create a monthly cost estimate.

Accessible with the following methods

Method Description
GET_COUNT() Getter for COUNT

UnitCost

The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

Accessible with the following methods

Method Description
GET_UNITCOST() Getter for UNITCOST
ASK_UNITCOST() Getter for UNITCOST w/ exceptions if field has no value
STR_UNITCOST() String format for UNITCOST

Cost

The total estimated monthly cost to analyze the active resources for this resource.

Accessible with the following methods

Method Description
GET_COST() Getter for COST
ASK_COST() Getter for COST w/ exceptions if field has no value
STR_COST() String format for COST

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SERVICERESOURCECOSTS

TYPES TT_SERVICERESOURCECOSTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_DOGSVCRESOURCECOST WITH DEFAULT KEY
.