Class ScheduledActionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.ScheduledActionProps.Jsii$Proxy
All Implemented Interfaces:
BasicScheduledActionProps, ScheduledActionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ScheduledActionProps

@Stability(Stable) @Internal public static final class ScheduledActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScheduledActionProps
An implementation for ScheduledActionProps
  • 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

      protected Jsii$Proxy(ScheduledActionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ScheduledActionProps.Builder.
  • Method Details

    • getAutoScalingGroup

      public final IAutoScalingGroup getAutoScalingGroup()
      Description copied from interface: ScheduledActionProps
      The AutoScalingGroup to apply the scheduled actions to.
      Specified by:
      getAutoScalingGroup in interface ScheduledActionProps
    • getSchedule

      public final Schedule getSchedule()
      Description copied from interface: BasicScheduledActionProps
      When to perform this action.

      Supports cron expressions.

      For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron.

      Specified by:
      getSchedule in interface BasicScheduledActionProps
    • getDesiredCapacity

      public final Number getDesiredCapacity()
      Description copied from interface: BasicScheduledActionProps
      The new desired capacity.

      At the scheduled time, set the desired capacity to the given capacity.

      At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.

      Default: - No new desired capacity.

      Specified by:
      getDesiredCapacity in interface BasicScheduledActionProps
    • getEndTime

      public final Instant getEndTime()
      Description copied from interface: BasicScheduledActionProps
      When this scheduled action expires.

      Default: - The rule never expires.

      Specified by:
      getEndTime in interface BasicScheduledActionProps
    • getMaxCapacity

      public final Number getMaxCapacity()
      Description copied from interface: BasicScheduledActionProps
      The new maximum capacity.

      At the scheduled time, set the maximum capacity to the given capacity.

      At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.

      Default: - No new maximum capacity.

      Specified by:
      getMaxCapacity in interface BasicScheduledActionProps
    • getMinCapacity

      public final Number getMinCapacity()
      Description copied from interface: BasicScheduledActionProps
      The new minimum capacity.

      At the scheduled time, set the minimum capacity to the given capacity.

      At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.

      Default: - No new minimum capacity.

      Specified by:
      getMinCapacity in interface BasicScheduledActionProps
    • getStartTime

      public final Instant getStartTime()
      Description copied from interface: BasicScheduledActionProps
      When this scheduled action becomes active.

      Default: - The rule is activate immediately.

      Specified by:
      getStartTime in interface BasicScheduledActionProps
    • getTimeZone

      public final String getTimeZone()
      Description copied from interface: BasicScheduledActionProps
      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.

      Default: - UTC

      Specified by:
      getTimeZone in interface BasicScheduledActionProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object