@Stability(value=Stable) public static final class CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty>
| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder cloudWatchOutputConfig(CfnMaintenanceWindowTask.CloudWatchOutputConfigProperty cloudWatchOutputConfig)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getCloudWatchOutputConfig()cloudWatchOutputConfig - Configuration options for sending command output to Amazon CloudWatch Logs.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder cloudWatchOutputConfig(IResolvable cloudWatchOutputConfig)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getCloudWatchOutputConfig()cloudWatchOutputConfig - Configuration options for sending command output to Amazon CloudWatch Logs.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder comment(String comment)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getComment()comment - Information about the command or commands to run.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder documentHash(String documentHash)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getDocumentHash()documentHash - The SHA-256 or SHA-1 hash created by the system when the document was created.
SHA-1 hashes have been deprecated.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder documentHashType(String documentHashType)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getDocumentHashType()documentHashType - The SHA-256 or SHA-1 hash type.
SHA-1 hashes are deprecated.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder documentVersion(String documentVersion)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getDocumentVersion()documentVersion - The AWS Systems Manager document (SSM document) version to use in the request.
You can specify $DEFAULT , $LATEST , or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder notificationConfig(CfnMaintenanceWindowTask.NotificationConfigProperty notificationConfig)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getNotificationConfig()notificationConfig - Configurations for sending notifications about command status changes on a per-managed node basis.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder notificationConfig(IResolvable notificationConfig)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getNotificationConfig()notificationConfig - Configurations for sending notifications about command status changes on a per-managed node basis.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder outputS3BucketName(String outputS3BucketName)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getOutputS3BucketName()outputS3BucketName - The name of the Amazon Simple Storage Service (Amazon S3) bucket.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder outputS3KeyPrefix(String outputS3KeyPrefix)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getOutputS3KeyPrefix()outputS3KeyPrefix - The S3 bucket subfolder.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder parameters(Object parameters)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getParameters()parameters - The parameters for the `RUN_COMMAND` task execution.
The supported parameters are the same as those for the SendCommand API call. For more information, see SendCommand in the AWS Systems Manager API Reference .this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder serviceRoleArn(String serviceRoleArn)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getServiceRoleArn()serviceRoleArn - 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.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.Builder timeoutSeconds(Number timeoutSeconds)
CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty.getTimeoutSeconds()timeoutSeconds - If this time is reached and the command hasn't already started running, it doesn't run.this@Stability(value=Stable) public CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersProperty>CfnMaintenanceWindowTask.MaintenanceWindowRunCommandParametersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.