Interface ICfnMaintenanceWindowTargetProps
Properties for defining a CfnMaintenanceWindowTarget
.
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnMaintenanceWindowTargetProps
Syntax (vb)
Public Interface ICfnMaintenanceWindowTargetProps
Remarks
ExampleMetadata: fixture=_generated
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"
};
Synopsis
Properties
Description | A description for the target. |
Name | The name for the maintenance window target. |
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. |
ResourceType | The type of target that is being registered with the maintenance window. |
Targets | The targets to register with the maintenance window. |
WindowId | The ID of the maintenance window to register the target with. |
Properties
Description
A description for the target.
virtual string Description { get; }
Property Value
System.String
Remarks
Name
The name for the maintenance window target.
virtual string Name { get; }
Property Value
System.String
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.
virtual string OwnerInformation { get; }
Property Value
System.String
Remarks
ResourceType
The type of target that is being registered with the maintenance window.
string ResourceType { get; }
Property Value
System.String
Remarks
Targets
The targets to register with the maintenance window.
object Targets { get; }
Property Value
System.Object
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.
string WindowId { get; }
Property Value
System.String