GetMaintenanceWindowTaskResult
public struct GetMaintenanceWindowTaskResult : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The retrieved task description.
Declaration
Swift
public let description: String?
-
The location in Amazon S3 where the task results are logged. LoggingInfo has been deprecated. To specify an S3 bucket to contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
Declaration
Swift
public let loggingInfo: LoggingInfo?
-
The maximum number of targets allowed to run this task in parallel.
Declaration
Swift
public let maxConcurrency: String?
-
The maximum number of errors allowed before the task stops being scheduled.
Declaration
Swift
public let maxErrors: String?
-
The retrieved task name.
Declaration
Swift
public let name: String?
-
The priority of the task when it runs. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
Declaration
Swift
public let priority: Int?
-
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
Declaration
Swift
public let serviceRoleArn: String?
-
The targets where the task should run.
Declaration
Swift
public let targets: [Target]?
-
The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document name/ARN. For LAMBDA tasks, the value is the function name/ARN. For STEP_FUNCTIONS tasks, the value is the state machine ARN.
Declaration
Swift
public let taskArn: String?
-
The parameters to pass to the task when it runs.
Declaration
Swift
public let taskInvocationParameters: MaintenanceWindowTaskInvocationParameters?
-
The parameters to pass to the task when it runs. TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
Declaration
Swift
public let taskParameters: [String : MaintenanceWindowTaskParameterValueExpression]?
-
The type of task to run.
Declaration
Swift
public let taskType: MaintenanceWindowTaskType?
-
The retrieved maintenance window ID.
Declaration
Swift
public let windowId: String?
-
The retrieved maintenance window task ID.
Declaration
Swift
public let windowTaskId: String?
-
init(description:loggingInfo:maxConcurrency:maxErrors:name:priority:serviceRoleArn:targets:taskArn:taskInvocationParameters:taskParameters:taskType:windowId:windowTaskId:)
Undocumented
Declaration
Swift
public init(description: String? = nil, loggingInfo: LoggingInfo? = nil, maxConcurrency: String? = nil, maxErrors: String? = nil, name: String? = nil, priority: Int? = nil, serviceRoleArn: String? = nil, targets: [Target]? = nil, taskArn: String? = nil, taskInvocationParameters: MaintenanceWindowTaskInvocationParameters? = nil, taskParameters: [String : MaintenanceWindowTaskParameterValueExpression]? = nil, taskType: MaintenanceWindowTaskType? = nil, windowId: String? = nil, windowTaskId: String? = nil)