Skip to content
v2.278.0

MaintenanceWindowTargetReference Struct ​

A reference to a MaintenanceWindowTarget resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as interfaces_ssm } from 'aws-cdk-lib/interfaces';
const maintenanceWindowTargetReference: interfaces_ssm.MaintenanceWindowTargetReference = {
  windowId: 'windowId',
  windowTargetId: 'windowTargetId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_ssm as interfaces_ssm

maintenance_window_target_reference = interfaces_ssm.MaintenanceWindowTargetReference(
    window_id="windowId",
    window_target_id="windowTargetId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ssm.*;

MaintenanceWindowTargetReference maintenanceWindowTargetReference = MaintenanceWindowTargetReference.builder()
        .windowId("windowId")
        .windowTargetId("windowTargetId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.SSM;

var maintenanceWindowTargetReference = new MaintenanceWindowTargetReference {
    WindowId = "windowId",
    WindowTargetId = "windowTargetId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

maintenanceWindowTargetReference := &MaintenanceWindowTargetReference{
	WindowId: jsii.String("windowId"),
	WindowTargetId: jsii.String("windowTargetId"),
}

Properties ​

windowIdstringwindow_idstrwindowIdStringWindowIdstringWindowId*string required #
The WindowId of the MaintenanceWindowTarget resource.
windowTargetIdstringwindow_target_idstrwindowTargetIdStringWindowTargetIdstringWindowTargetId*string required #
The WindowTargetId of the MaintenanceWindowTarget resource.