ScheduledAction
public struct ScheduledAction : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
Declaration
Swift
public let endTime: TimeStamp?
-
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.
Declaration
Swift
public let iamRole: String?
-
List of times when the scheduled action will run.
Declaration
Swift
public let nextInvocations: [TimeStamp]?
-
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.
Declaration
Swift
public let schedule: String?
-
The description of the scheduled action.
Declaration
Swift
public let scheduledActionDescription: String?
-
The name of the scheduled action.
Declaration
Swift
public let scheduledActionName: String?
-
The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
Declaration
Swift
public let startTime: TimeStamp?
-
The state of the scheduled action. For example, DISABLED.
Declaration
Swift
public let state: ScheduledActionState?
-
A JSON format string of the Amazon Redshift API operation with input parameters. “{\"ResizeCluster\”:{\“NodeType\”:\“ds2.8xlarge\”,\“ClusterIdentifier\”:\“my-test-cluster\”,\“NumberOfNodes\”:3}}“.
Declaration
Swift
public let targetAction: ScheduledActionType?
-
init(endTime:iamRole:nextInvocations:schedule:scheduledActionDescription:scheduledActionName:startTime:state:targetAction:)
Undocumented
Declaration
Swift
public init(endTime: TimeStamp? = nil, iamRole: String? = nil, nextInvocations: [TimeStamp]? = nil, schedule: String? = nil, scheduledActionDescription: String? = nil, scheduledActionName: String? = nil, startTime: TimeStamp? = nil, state: ScheduledActionState? = nil, targetAction: ScheduledActionType? = nil)