Skip to content

/AWS1/CL_ASCSCHDDUPDGRPACTREQ

Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_scheduledactionname TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The name of the scaling action.

Optional arguments:

iv_starttime TYPE /AWS1/ASCTIMESTAMPTYPE /AWS1/ASCTIMESTAMPTYPE

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z").

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.

iv_endtime TYPE /AWS1/ASCTIMESTAMPTYPE /AWS1/ASCTIMESTAMPTYPE

The date and time for the recurring schedule to end, in UTC.

iv_recurrence TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

iv_minsize TYPE /AWS1/ASCAUTOSCGROUPMINSIZE /AWS1/ASCAUTOSCGROUPMINSIZE

The minimum size of the Auto Scaling group.

iv_maxsize TYPE /AWS1/ASCAUTOSCGROUPMAXSIZE /AWS1/ASCAUTOSCGROUPMAXSIZE

The maximum size of the Auto Scaling group.

iv_desiredcapacity TYPE /AWS1/ASCAUTOSCGROUPDESIREDCAP /AWS1/ASCAUTOSCGROUPDESIREDCAP

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

iv_timezone TYPE /AWS1/ASCXMLSTRINGMAXLEN255 /AWS1/ASCXMLSTRINGMAXLEN255

Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.


Queryable Attributes

ScheduledActionName

The name of the scaling action.

Accessible with the following methods

Method Description
GET_SCHEDULEDACTIONNAME() Getter for SCHEDULEDACTIONNAME, with configurable default
ASK_SCHEDULEDACTIONNAME() Getter for SCHEDULEDACTIONNAME w/ exceptions if field has no
HAS_SCHEDULEDACTIONNAME() Determine if SCHEDULEDACTIONNAME has a value

StartTime

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z").

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.

Accessible with the following methods

Method Description
GET_STARTTIME() Getter for STARTTIME, with configurable default
ASK_STARTTIME() Getter for STARTTIME w/ exceptions if field has no value
HAS_STARTTIME() Determine if STARTTIME has a value

EndTime

The date and time for the recurring schedule to end, in UTC.

Accessible with the following methods

Method Description
GET_ENDTIME() Getter for ENDTIME, with configurable default
ASK_ENDTIME() Getter for ENDTIME w/ exceptions if field has no value
HAS_ENDTIME() Determine if ENDTIME has a value

Recurrence

The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

Accessible with the following methods

Method Description
GET_RECURRENCE() Getter for RECURRENCE, with configurable default
ASK_RECURRENCE() Getter for RECURRENCE w/ exceptions if field has no value
HAS_RECURRENCE() Determine if RECURRENCE has a value

MinSize

The minimum size of the Auto Scaling group.

Accessible with the following methods

Method Description
GET_MINSIZE() Getter for MINSIZE, with configurable default
ASK_MINSIZE() Getter for MINSIZE w/ exceptions if field has no value
HAS_MINSIZE() Determine if MINSIZE has a value

MaxSize

The maximum size of the Auto Scaling group.

Accessible with the following methods

Method Description
GET_MAXSIZE() Getter for MAXSIZE, with configurable default
ASK_MAXSIZE() Getter for MAXSIZE w/ exceptions if field has no value
HAS_MAXSIZE() Determine if MAXSIZE has a value

DesiredCapacity

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

Accessible with the following methods

Method Description
GET_DESIREDCAPACITY() Getter for DESIREDCAPACITY, with configurable default
ASK_DESIREDCAPACITY() Getter for DESIREDCAPACITY w/ exceptions if field has no val
HAS_DESIREDCAPACITY() Determine if DESIREDCAPACITY has a value

TimeZone

Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

Accessible with the following methods

Method Description
GET_TIMEZONE() Getter for TIMEZONE, with configurable default
ASK_TIMEZONE() Getter for TIMEZONE w/ exceptions if field has no value
HAS_TIMEZONE() Determine if TIMEZONE has a value

Public Local Types In This Class

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

TT_SCHDDUPDATEGROUPACTIONREQS

TYPES TT_SCHDDUPDATEGROUPACTIONREQS TYPE STANDARD TABLE OF REF TO /AWS1/CL_ASCSCHDDUPDGRPACTREQ WITH DEFAULT KEY
.