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 MaintenanceWindowTarget = MaintenanceWindowTarget' {}
- newMaintenanceWindowTarget :: MaintenanceWindowTarget
- maintenanceWindowTarget_resourceType :: Lens' MaintenanceWindowTarget (Maybe MaintenanceWindowResourceType)
- maintenanceWindowTarget_ownerInformation :: Lens' MaintenanceWindowTarget (Maybe Text)
- maintenanceWindowTarget_windowTargetId :: Lens' MaintenanceWindowTarget (Maybe Text)
- maintenanceWindowTarget_name :: Lens' MaintenanceWindowTarget (Maybe Text)
- maintenanceWindowTarget_targets :: Lens' MaintenanceWindowTarget (Maybe [Target])
- maintenanceWindowTarget_description :: Lens' MaintenanceWindowTarget (Maybe Text)
- maintenanceWindowTarget_windowId :: Lens' MaintenanceWindowTarget (Maybe Text)
Documentation
data MaintenanceWindowTarget Source #
The target registered with the maintenance window.
See: newMaintenanceWindowTarget
smart constructor.
MaintenanceWindowTarget' | |
|
Instances
newMaintenanceWindowTarget :: MaintenanceWindowTarget Source #
Create a value of MaintenanceWindowTarget
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:resourceType:MaintenanceWindowTarget'
, maintenanceWindowTarget_resourceType
- The type of target that is being registered with the maintenance window.
$sel:ownerInformation:MaintenanceWindowTarget'
, maintenanceWindowTarget_ownerInformation
- A user-provided value that will be included in any Amazon CloudWatch
Events events that are raised while running tasks for these targets in
this maintenance window.
$sel:windowTargetId:MaintenanceWindowTarget'
, maintenanceWindowTarget_windowTargetId
- The ID of the target.
$sel:name:MaintenanceWindowTarget'
, maintenanceWindowTarget_name
- The name for the maintenance window target.
$sel:targets:MaintenanceWindowTarget'
, maintenanceWindowTarget_targets
- The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>
.
$sel:description:MaintenanceWindowTarget'
, maintenanceWindowTarget_description
- A description for the target.
$sel:windowId:MaintenanceWindowTarget'
, maintenanceWindowTarget_windowId
- The ID of the maintenance window to register the target with.
maintenanceWindowTarget_resourceType :: Lens' MaintenanceWindowTarget (Maybe MaintenanceWindowResourceType) Source #
The type of target that is being registered with the maintenance window.
maintenanceWindowTarget_ownerInformation :: Lens' MaintenanceWindowTarget (Maybe Text) Source #
A user-provided value that will be included in any Amazon CloudWatch Events events that are raised while running tasks for these targets in this maintenance window.
maintenanceWindowTarget_windowTargetId :: Lens' MaintenanceWindowTarget (Maybe Text) Source #
The ID of the target.
maintenanceWindowTarget_name :: Lens' MaintenanceWindowTarget (Maybe Text) Source #
The name for the maintenance window target.
maintenanceWindowTarget_targets :: Lens' MaintenanceWindowTarget (Maybe [Target]) Source #
The targets, either instances or tags.
Specify instances using the following format:
Key=instanceids,Values=<instanceid1>,<instanceid2>
Tags are specified using the following format:
Key=<tag name>,Values=<tag value>
.
maintenanceWindowTarget_description :: Lens' MaintenanceWindowTarget (Maybe Text) Source #
A description for the target.
maintenanceWindowTarget_windowId :: Lens' MaintenanceWindowTarget (Maybe Text) Source #
The ID of the maintenance window to register the target with.