@Stability(value=Stable) public static final class CfnMaintenanceWindowTarget.Builder extends Object implements software.amazon.jsii.Builder<CfnMaintenanceWindowTarget>
CfnMaintenanceWindowTarget.| Modifier and Type | Method and Description |
|---|---|
CfnMaintenanceWindowTarget |
build() |
static CfnMaintenanceWindowTarget.Builder |
create(Construct scope,
String id) |
CfnMaintenanceWindowTarget.Builder |
description(String description)
A description for the target.
|
CfnMaintenanceWindowTarget.Builder |
name(String name)
The name for the maintenance window target.
|
CfnMaintenanceWindowTarget.Builder |
ownerInformation(String 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.
|
CfnMaintenanceWindowTarget.Builder |
resourceType(String resourceType)
The type of target that is being registered with the maintenance window.
|
CfnMaintenanceWindowTarget.Builder |
targets(IResolvable targets)
The targets to register with the maintenance window.
|
CfnMaintenanceWindowTarget.Builder |
targets(List<? extends Object> targets)
The targets to register with the maintenance window.
|
CfnMaintenanceWindowTarget.Builder |
windowId(String windowId)
The ID of the maintenance window to register the target with.
|
@Stability(value=Stable) public static CfnMaintenanceWindowTarget.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnMaintenanceWindowTarget.TargetsProperty.Builder.@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder resourceType(String resourceType)
resourceType - The type of target that is being registered with the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder targets(IResolvable targets)
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds parameter.
targets - The targets to register with the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder targets(List<? extends Object> targets)
In other words, the instances to run commands on when the maintenance window runs.
You must specify targets by using the WindowTargetIds parameter.
targets - The targets to register with the maintenance window. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder windowId(String windowId)
windowId - The ID of the maintenance window to register the target with. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder description(String description)
description - A description for the target. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder name(String name)
name - The name for the maintenance window target. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget.Builder ownerInformation(String ownerInformation)
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. This parameter is required.this@Stability(value=Stable) public CfnMaintenanceWindowTarget build()
build in interface software.amazon.jsii.Builder<CfnMaintenanceWindowTarget>Copyright © 2023. All rights reserved.