Class: Aws::SSM::Types::UpdateMaintenanceWindowTargetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::UpdateMaintenanceWindowTargetRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
When making an API call, you may pass UpdateMaintenanceWindowTargetRequest data as a hash:
{
window_id: "MaintenanceWindowId", # required
window_target_id: "MaintenanceWindowTargetId", # required
targets: [
{
key: "TargetKey",
values: ["TargetValue"],
},
],
owner_information: "OwnerInformation",
name: "MaintenanceWindowName",
description: "MaintenanceWindowDescription",
replace: false,
}
Instance Attribute Summary collapse
-
#description ⇒ String
An optional description for the update.
-
#name ⇒ String
A name for the update.
-
#owner_information ⇒ String
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this maintenance window.
-
#replace ⇒ Boolean
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request.
-
#targets ⇒ Array<Types::Target>
The targets to add or replace.
-
#window_id ⇒ String
The maintenance window ID with which to modify the target.
-
#window_target_id ⇒ String
The target ID to modify.
Instance Attribute Details
#description ⇒ String
An optional description for the update.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#name ⇒ String
A name for the update.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#owner_information ⇒ String
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this maintenance window.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#replace ⇒ Boolean
If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow action are also required for this API request. Optional fields that are not specified are set to null.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#targets ⇒ Array<Types::Target>
The targets to add or replace.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#window_id ⇒ String
The maintenance window ID with which to modify the target.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |
#window_target_id ⇒ String
The target ID to modify.
16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 |
# File 'lib/aws-sdk-ssm/types.rb', line 16293 class UpdateMaintenanceWindowTargetRequest < Struct.new( :window_id, :window_target_id, :targets, :owner_information, :name, :description, :replace) include Aws::Structure end |