Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data MaintenanceWindowRunCommandParameters = MaintenanceWindowRunCommandParameters' {
- serviceRoleArn :: Maybe Text
- notificationConfig :: Maybe NotificationConfig
- documentHashType :: Maybe DocumentHashType
- cloudWatchOutputConfig :: Maybe CloudWatchOutputConfig
- outputS3KeyPrefix :: Maybe Text
- parameters :: Maybe (HashMap Text [Text])
- documentHash :: Maybe Text
- documentVersion :: Maybe Text
- timeoutSeconds :: Maybe Natural
- comment :: Maybe Text
- outputS3BucketName :: Maybe Text
- newMaintenanceWindowRunCommandParameters :: MaintenanceWindowRunCommandParameters
- maintenanceWindowRunCommandParameters_serviceRoleArn :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
- maintenanceWindowRunCommandParameters_notificationConfig :: Lens' MaintenanceWindowRunCommandParameters (Maybe NotificationConfig)
- maintenanceWindowRunCommandParameters_documentHashType :: Lens' MaintenanceWindowRunCommandParameters (Maybe DocumentHashType)
- maintenanceWindowRunCommandParameters_cloudWatchOutputConfig :: Lens' MaintenanceWindowRunCommandParameters (Maybe CloudWatchOutputConfig)
- maintenanceWindowRunCommandParameters_outputS3KeyPrefix :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
- maintenanceWindowRunCommandParameters_parameters :: Lens' MaintenanceWindowRunCommandParameters (Maybe (HashMap Text [Text]))
- maintenanceWindowRunCommandParameters_documentHash :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
- maintenanceWindowRunCommandParameters_documentVersion :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
- maintenanceWindowRunCommandParameters_timeoutSeconds :: Lens' MaintenanceWindowRunCommandParameters (Maybe Natural)
- maintenanceWindowRunCommandParameters_comment :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
- maintenanceWindowRunCommandParameters_outputS3BucketName :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text)
Documentation
data MaintenanceWindowRunCommandParameters Source #
The parameters for a RUN_COMMAND
task type.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage
Service (Amazon S3) bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon
Web Services Systems Manager handles these options for the supported
maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
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.
For RUN_COMMAND
tasks, Systems Manager uses specified values for
TaskParameters
and LoggingInfo
only if no values are specified for
TaskInvocationParameters
.
See: newMaintenanceWindowRunCommandParameters
smart constructor.
MaintenanceWindowRunCommandParameters' | |
|
Instances
newMaintenanceWindowRunCommandParameters :: MaintenanceWindowRunCommandParameters Source #
Create a value of MaintenanceWindowRunCommandParameters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serviceRoleArn:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_serviceRoleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management
(IAM) service role to use to publish Amazon Simple Notification Service
(Amazon SNS) notifications for maintenance window Run Command tasks.
$sel:notificationConfig:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_notificationConfig
- Configurations for sending notifications about command status changes on
a per-instance basis.
$sel:documentHashType:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_documentHashType
- SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
$sel:cloudWatchOutputConfig:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_cloudWatchOutputConfig
- Undocumented member.
$sel:outputS3KeyPrefix:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_outputS3KeyPrefix
- The S3 bucket subfolder.
$sel:parameters:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_parameters
- The parameters for the RUN_COMMAND
task execution.
$sel:documentHash:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_documentHash
- The SHA-256 or SHA-1 hash created by the system when the document was
created. SHA-1 hashes have been deprecated.
$sel:documentVersion:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_documentVersion
- The Amazon Web Services 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 Amazon Web
Services 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"
$sel:timeoutSeconds:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_timeoutSeconds
- If this time is reached and the command hasn't already started running,
it doesn't run.
$sel:comment:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_comment
- Information about the commands to run.
$sel:outputS3BucketName:MaintenanceWindowRunCommandParameters'
, maintenanceWindowRunCommandParameters_outputS3BucketName
- The name of the Amazon Simple Storage Service (Amazon S3) bucket.
maintenanceWindowRunCommandParameters_serviceRoleArn :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
maintenanceWindowRunCommandParameters_notificationConfig :: Lens' MaintenanceWindowRunCommandParameters (Maybe NotificationConfig) Source #
Configurations for sending notifications about command status changes on a per-instance basis.
maintenanceWindowRunCommandParameters_documentHashType :: Lens' MaintenanceWindowRunCommandParameters (Maybe DocumentHashType) Source #
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
maintenanceWindowRunCommandParameters_cloudWatchOutputConfig :: Lens' MaintenanceWindowRunCommandParameters (Maybe CloudWatchOutputConfig) Source #
Undocumented member.
maintenanceWindowRunCommandParameters_outputS3KeyPrefix :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
The S3 bucket subfolder.
maintenanceWindowRunCommandParameters_parameters :: Lens' MaintenanceWindowRunCommandParameters (Maybe (HashMap Text [Text])) Source #
The parameters for the RUN_COMMAND
task execution.
maintenanceWindowRunCommandParameters_documentHash :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
maintenanceWindowRunCommandParameters_documentVersion :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
The Amazon Web Services 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 Amazon Web
Services 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"
maintenanceWindowRunCommandParameters_timeoutSeconds :: Lens' MaintenanceWindowRunCommandParameters (Maybe Natural) Source #
If this time is reached and the command hasn't already started running, it doesn't run.
maintenanceWindowRunCommandParameters_comment :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
Information about the commands to run.
maintenanceWindowRunCommandParameters_outputS3BucketName :: Lens' MaintenanceWindowRunCommandParameters (Maybe Text) Source #
The name of the Amazon Simple Storage Service (Amazon S3) bucket.