Skip to content

/AWS1/CL_ADSEC2RECOMMENDATIO00

Indicates that the exported data must include EC2 instance type matches for on-premises servers that are discovered through Amazon Web Services Application Discovery Service.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_ENABLED TYPE /AWS1/ADSEXPORTENABLED /AWS1/ADSEXPORTENABLED

If set to true, the export preferences is set to Ec2RecommendationsExportPreferences.

IO_CPUPERFORMANCEMETRICBASIS TYPE REF TO /AWS1/CL_ADSUSAGEMETRICBASIS /AWS1/CL_ADSUSAGEMETRICBASIS

The recommended EC2 instance type that matches the CPU usage metric of server performance data.

IO_RAMPERFORMANCEMETRICBASIS TYPE REF TO /AWS1/CL_ADSUSAGEMETRICBASIS /AWS1/CL_ADSUSAGEMETRICBASIS

The recommended EC2 instance type that matches the Memory usage metric of server performance data.

IV_TENANCY TYPE /AWS1/ADSTENANCY /AWS1/ADSTENANCY

The target tenancy to use for your recommended EC2 instances.

IT_EXCLUDEDINSTANCETYPES TYPE /AWS1/CL_ADSEXCLUDEDINSTTYPE00=>TT_EXCLUDEDINSTANCETYPES TT_EXCLUDEDINSTANCETYPES

An array of instance types to exclude from recommendations.

IV_PREFERREDREGION TYPE /AWS1/ADSUSERPREFERREDREGION /AWS1/ADSUSERPREFERREDREGION

The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.

IO_RESERVEDINSTANCEOPTIONS TYPE REF TO /AWS1/CL_ADSRESERVEDINSTOPTS /AWS1/CL_ADSRESERVEDINSTOPTS

The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred.


Queryable Attributes

enabled

If set to true, the export preferences is set to Ec2RecommendationsExportPreferences.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED

cpuPerformanceMetricBasis

The recommended EC2 instance type that matches the CPU usage metric of server performance data.

Accessible with the following methods

Method Description
GET_CPUPERFORMANCEMETRICBA00() Getter for CPUPERFORMANCEMETRICBASIS

ramPerformanceMetricBasis

The recommended EC2 instance type that matches the Memory usage metric of server performance data.

Accessible with the following methods

Method Description
GET_RAMPERFORMANCEMETRICBA00() Getter for RAMPERFORMANCEMETRICBASIS

tenancy

The target tenancy to use for your recommended EC2 instances.

Accessible with the following methods

Method Description
GET_TENANCY() Getter for TENANCY, with configurable default
ASK_TENANCY() Getter for TENANCY w/ exceptions if field has no value
HAS_TENANCY() Determine if TENANCY has a value

excludedInstanceTypes

An array of instance types to exclude from recommendations.

Accessible with the following methods

Method Description
GET_EXCLUDEDINSTANCETYPES() Getter for EXCLUDEDINSTANCETYPES, with configurable default
ASK_EXCLUDEDINSTANCETYPES() Getter for EXCLUDEDINSTANCETYPES w/ exceptions if field has
HAS_EXCLUDEDINSTANCETYPES() Determine if EXCLUDEDINSTANCETYPES has a value

preferredRegion

The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.

Accessible with the following methods

Method Description
GET_PREFERREDREGION() Getter for PREFERREDREGION, with configurable default
ASK_PREFERREDREGION() Getter for PREFERREDREGION w/ exceptions if field has no val
HAS_PREFERREDREGION() Determine if PREFERREDREGION has a value

reservedInstanceOptions

The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred.

Accessible with the following methods

Method Description
GET_RESERVEDINSTANCEOPTIONS() Getter for RESERVEDINSTANCEOPTIONS