Class CfnScheduledActionProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnScheduledActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScheduledActionProps
An implementation for CfnScheduledActionProps
  • 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(CfnScheduledActionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnScheduledActionProps.Builder.
  • Method Details

    • getScheduledActionName

      public final String getScheduledActionName()
      Description copied from interface: CfnScheduledActionProps
      The name of the scheduled action.
      Specified by:
      getScheduledActionName in interface CfnScheduledActionProps
    • getEnable

      public final Object getEnable()
      Description copied from interface: CfnScheduledActionProps
      If true, the schedule is enabled.

      If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction .

      Specified by:
      getEnable in interface CfnScheduledActionProps
    • getEndTime

      public final String getEndTime()
      Description copied from interface: CfnScheduledActionProps
      The end time in UTC when the schedule is no longer active.

      After this time, the scheduled action does not trigger.

      Specified by:
      getEndTime in interface CfnScheduledActionProps
    • getIamRole

      public final String getIamRole()
      Description copied from interface: CfnScheduledActionProps
      The IAM role to assume to run the scheduled action.

      This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide .

      Specified by:
      getIamRole in interface CfnScheduledActionProps
    • getSchedule

      public final String getSchedule()
      Description copied from interface: CfnScheduledActionProps
      The schedule for a one-time (at format) or recurring (cron format) scheduled action.

      Schedule invocations must be separated by at least one hour.

      Format of at expressions is " at(yyyy-mm-ddThh:mm:ss) ". For example, " at(2016-03-04T17:27:00) ".

      Format of cron expressions is " cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, " cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide .

      Specified by:
      getSchedule in interface CfnScheduledActionProps
    • getScheduledActionDescription

      public final String getScheduledActionDescription()
      Description copied from interface: CfnScheduledActionProps
      The description of the scheduled action.
      Specified by:
      getScheduledActionDescription in interface CfnScheduledActionProps
    • getStartTime

      public final String getStartTime()
      Description copied from interface: CfnScheduledActionProps
      The start time in UTC when the schedule is active.

      Before this time, the scheduled action does not trigger.

      Specified by:
      getStartTime in interface CfnScheduledActionProps
    • getTargetAction

      public final Object getTargetAction()
      Description copied from interface: CfnScheduledActionProps
      A JSON format string of the Amazon Redshift API operation with input parameters.

      " {\"ResizeCluster\":{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

      Specified by:
      getTargetAction in interface CfnScheduledActionProps
    • $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