MaintenanceWindowTargetArgs constructor
Creates a new MaintenanceWindowTargetArgs.
description The description of the maintenance window target.
name The name of the maintenance window target.
ownerInformation User-provided value that will be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceType The type of target being registered with the Maintenance Window. Possible values are INSTANCE and RESOURCE_GROUP.
targets 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
windowId The Id of the maintenance window to register the target with.
Implementation
const MaintenanceWindowTargetArgs({
this.description,
this.name,
this.ownerInformation,
this.region,
required this.resourceType,
required this.targets,
required this.windowId,
});