@Stability(value=Stable) @Internal public static final class CfnMaintenanceWindowTaskProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMaintenanceWindowTaskProps
CfnMaintenanceWindowTaskPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnMaintenanceWindowTaskProps.Builder, CfnMaintenanceWindowTaskProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnMaintenanceWindowTaskProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnMaintenanceWindowTaskProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getCutoffBehavior()
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
|
String |
getDescription()
A description of the task.
|
Object |
getLoggingInfo()
Information about an Amazon S3 bucket to write task-level logs to.
|
String |
getMaxConcurrency()
The maximum number of targets this task can be run for, in parallel.
|
String |
getMaxErrors()
The maximum number of errors allowed before this task stops being scheduled.
|
String |
getName()
The task name.
|
Number |
getPriority()
The priority of the task in the maintenance window.
|
String |
getServiceRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
|
Object |
getTargets()
The targets, either instances or window target IDs.
|
String |
getTaskArn()
The resource that the task uses during execution.
|
Object |
getTaskInvocationParameters()
The parameters to pass to the task when it runs.
|
Object |
getTaskParameters()
The parameters to pass to the task when it runs.
|
String |
getTaskType()
The type of task.
|
String |
getWindowId()
The ID of the maintenance window where the task is registered.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnMaintenanceWindowTaskProps.Builder builder)
CfnMaintenanceWindowTaskProps.Builder.public final Number getPriority()
CfnMaintenanceWindowTaskPropsThe lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
getPriority in interface CfnMaintenanceWindowTaskPropspublic final String getTaskArn()
CfnMaintenanceWindowTaskProps
For RUN_COMMAND and AUTOMATION task types, TaskArn is the SSM document name or Amazon Resource Name (ARN).
For LAMBDA tasks, TaskArn is the function name or ARN.
For STEP_FUNCTIONS tasks, TaskArn is the state machine ARN.
getTaskArn in interface CfnMaintenanceWindowTaskPropspublic final String getTaskType()
CfnMaintenanceWindowTaskProps
Valid values: RUN_COMMAND , AUTOMATION , LAMBDA , STEP_FUNCTIONS .
getTaskType in interface CfnMaintenanceWindowTaskPropspublic final String getWindowId()
CfnMaintenanceWindowTaskPropsgetWindowId in interface CfnMaintenanceWindowTaskPropspublic final String getCutoffBehavior()
CfnMaintenanceWindowTaskPropsgetCutoffBehavior in interface CfnMaintenanceWindowTaskPropspublic final String getDescription()
CfnMaintenanceWindowTaskPropsgetDescription in interface CfnMaintenanceWindowTaskPropspublic final Object getLoggingInfo()
CfnMaintenanceWindowTaskProps
LoggingInfohas been deprecated. To specify an Amazon S3 bucket to contain logs, instead use theOutputS3BucketNameandOutputS3KeyPrefixoptions in theTaskInvocationParametersstructure. For information about how Systems Manager handles these options for the supported maintenance window task types, see AWS Systems Manager MaintenanceWindowTask TaskInvocationParameters .
getLoggingInfo in interface CfnMaintenanceWindowTaskPropspublic final String getMaxConcurrency()
CfnMaintenanceWindowTaskProps
Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of
1. This value doesn't affect the running of your task.
getMaxConcurrency in interface CfnMaintenanceWindowTaskPropspublic final String getMaxErrors()
CfnMaintenanceWindowTaskProps
Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of
1. This value doesn't affect the running of your task.
getMaxErrors in interface CfnMaintenanceWindowTaskPropspublic final String getName()
CfnMaintenanceWindowTaskPropsgetName in interface CfnMaintenanceWindowTaskPropspublic final String getServiceRoleArn()
CfnMaintenanceWindowTaskPropsgetServiceRoleArn in interface CfnMaintenanceWindowTaskPropspublic final Object getTargets()
CfnMaintenanceWindowTaskProps
Key=InstanceIds,Values= *instanceid1* , *instanceid2* .Key=WindowTargetIds,Values= *window-target-id-1* , *window-target-id-2* .getTargets in interface CfnMaintenanceWindowTaskPropspublic final Object getTaskInvocationParameters()
CfnMaintenanceWindowTaskPropsPopulate only the fields that match the task type. All other fields should be empty.
When you update a maintenance window task that has options specified in
TaskInvocationParameters, you must provide again all theTaskInvocationParametersvalues that you want to retain. The values you do not specify again are removed. For example, suppose that when you registered a Run Command task, you specifiedTaskInvocationParametersvalues forComment,NotificationConfig, andOutputS3BucketName. If you update the maintenance window task and specify only a differentOutputS3BucketNamevalue, the values forCommentandNotificationConfigare removed.
getTaskInvocationParameters in interface CfnMaintenanceWindowTaskPropspublic final Object getTaskParameters()
CfnMaintenanceWindowTaskProps
TaskParametershas been deprecated. To specify parameters to pass to a task when it runs, instead use theParametersoption in theTaskInvocationParametersstructure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters .
getTaskParameters in interface CfnMaintenanceWindowTaskProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.