Class CfnMaintenanceWindowTargetProps
Properties for defining a CfnMaintenanceWindowTarget
.
public class CfnMaintenanceWindowTargetProps : ICfnMaintenanceWindowTargetProps
- Inheritance
-
CfnMaintenanceWindowTargetProps
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var cfnMaintenanceWindowTargetProps = new CfnMaintenanceWindowTargetProps {
ResourceType = "resourceType",
Targets = new [] { new TargetsProperty {
Key = "key",
Values = new [] { "values" }
} },
WindowId = "windowId",
// the properties below are optional
Description = "description",
Name = "name",
OwnerInformation = "ownerInformation"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
CfnMaintenanceWindowTargetProps()
public CfnMaintenanceWindowTargetProps()
Properties
Description
A description for the target.
public string? Description { get; set; }
Property Value
Remarks
Name
The name for the maintenance window target.
public string? Name { get; set; }
Property Value
Remarks
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.
public string? OwnerInformation { get; set; }
Property Value
Remarks
ResourceType
The type of target that is being registered with the maintenance window.
public string ResourceType { get; set; }
Property Value
Remarks
Targets
The targets to register with the maintenance window.
public object Targets { get; set; }
Property Value
Remarks
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds
parameter.
WindowId
The ID of the maintenance window to register the target with.
public string WindowId { get; set; }