Class CfnScalableTarget.ScheduledActionProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalableTarget.ScheduledActionProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalableTarget.ScheduledActionProperty
CfnScalableTarget.ScheduledActionProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget.ScheduledActionProperty
CfnScalableTarget.ScheduledActionProperty.Builder, CfnScalableTarget.ScheduledActionProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalableTarget.ScheduledActionProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe date and time that the action is scheduled to end, in UTC.final ObjectThe new minimum and maximum capacity.final StringThe schedule for this action.final StringThe name of the scheduled action.final ObjectThe date and time that the action is scheduled to begin, in UTC.final StringThe time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnScalableTarget.ScheduledActionProperty.Builder.
-
-
Method Details
-
getSchedule
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe schedule for this action. The following formats are supported:.- At expressions - "
at( *yyyy* - *mm* - *dd* T *hh* : *mm* : *ss* )" - Rate expressions - "
rate( *value* *unit* )" - Cron expressions - "
cron( *fields* )"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval.
At and cron expressions use Universal Coordinated Time (UTC) by default.
The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year].
For rate expressions, value is a positive integer and unit is
minute|minutes|hour|hours|day|days.- Specified by:
getSchedulein interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
- At expressions - "
-
getScheduledActionName
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe name of the scheduled action.This name must be unique among all other scheduled actions on the specified scalable target.
- Specified by:
getScheduledActionNamein interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
-
getEndTime
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe date and time that the action is scheduled to end, in UTC.Returns union: either
InstantorIResolvable- Specified by:
getEndTimein interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
-
getScalableTargetAction
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe new minimum and maximum capacity.You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
Returns union: either
IResolvableorCfnScalableTarget.ScalableTargetActionProperty- Specified by:
getScalableTargetActionin interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
-
getStartTime
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe date and time that the action is scheduled to begin, in UTC.Returns union: either
InstantorIResolvable- Specified by:
getStartTimein interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
-
getTimezone
Description copied from interface:CfnScalableTarget.ScheduledActionPropertyThe time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.- Specified by:
getTimezonein interfaceCfnScalableTarget.ScheduledActionProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-