MaintenanceWindowTargetState class
Input properties used for looking up and filtering MaintenanceWindowTarget resources.
Constructors
-
MaintenanceWindowTargetState({Input<
String?> ? description, Input<String?> ? name, Input<String?> ? ownerInformation, Input<String?> ? region, Input<String?> ? resourceType, Input<List< ? targets, Input<MaintenanceWindowTargetTarget> ?>String?> ? windowId}) -
Creates a new MaintenanceWindowTargetState.
descriptionThe description of the maintenance window target.nameThe name of the maintenance window target.ownerInformationUser-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceTypeThe type of target being registered with the Maintenance Window. Possible values areINSTANCEandRESOURCE_GROUP.targetsThe targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats seewindowIdThe Id of the maintenance window to register the target with.const -
MaintenanceWindowTargetState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
The description of the maintenance window target.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
The name of the maintenance window target.
final
-
ownerInformation
→ Input<
String?> ? -
User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
resourceType
→ Input<
String?> ? -
The type of target being registered with the Maintenance Window. Possible values are
INSTANCEandRESOURCE_GROUP.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targets
→ Input<
List< ?MaintenanceWindowTargetTarget> ?> -
The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You can specify targets using instance IDs, resource group names, or tags that have been applied to instances. For more information about these examples formats see
(https://docs.aws.amazon.com/systems-manager/latest/userguide/mw-cli-tutorial-targets-examples.html)
final
-
windowId
→ Input<
String?> ? -
The Id of the maintenance window to register the target with.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited