AWS::SSM::MaintenanceWindowTargetThe `AWS::SSM::MaintenanceWindowTarget` resource registers a target with a maintenance window for AWS Systems Manager . For more information, see [RegisterTargetWithMaintenanceWindow](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_RegisterTargetWithMaintenanceWindow.html) in the *AWS Systems Manager API Reference* .
import { CfnMaintenanceWindowTarget } from 'aws-cdk-lib/aws-ssm';Or use the module namespace:
import * as ssm from 'aws-cdk-lib/aws-ssm';
// ssm.CfnMaintenanceWindowTargetConfiguration passed to the constructor as CfnMaintenanceWindowTargetProps.
resourceTypeRequiredstringThe type of target that is being registered with the maintenance window.
targetsRequiredIResolvable | IResolvable | TargetsProperty[]The targets to register with the maintenance window. In other words, the instances to run commands on when the maintenance window runs. You must specify targets by using the `WindowTargetIds` parameter.
windowIdRequiredstringThe ID of the maintenance window to register the target with.
descriptionOptionalstringA description for the target.
nameOptionalstringThe name for the maintenance window target.
ownerInformationOptionalstringA 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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-ssmAWS::SSM::MaintenanceWindowTarget