Interface CfnMaintenanceWindowTargetMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMaintenanceWindowTargetMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.680Z")
@Stability(Stable)
public interface CfnMaintenanceWindowTargetMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnMaintenanceWindowTargetPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ssm.*;
CfnMaintenanceWindowTargetMixinProps cfnMaintenanceWindowTargetMixinProps = CfnMaintenanceWindowTargetMixinProps.builder()
.description("description")
.name("name")
.ownerInformation("ownerInformation")
.resourceType("resourceType")
.targets(List.of(TargetsProperty.builder()
.key("key")
.values(List.of("values"))
.build()))
.windowId("windowId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMaintenanceWindowTargetMixinPropsstatic final classAn implementation forCfnMaintenanceWindowTargetMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description for the target.default StringgetName()The name for the maintenance window target.default StringA 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.default StringThe type of target that is being registered with the maintenance window.default ObjectThe targets to register with the maintenance window.default StringThe ID of the maintenance window to register the target with.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description for the target.- See Also:
-
getName
The name for the maintenance window target.- See Also:
-
getOwnerInformation
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.- See Also:
-
getResourceType
The type of target that is being registered with the maintenance window.- See Also:
-
getTargets
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
WindowTargetIdsparameter.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMaintenanceWindowTargetPropsMixin.TargetsProperty>- See Also:
-
getWindowId
The ID of the maintenance window to register the target with.- See Also:
-
builder
-