# PatchScheduleProperty

The schedule configuration for automatic patching.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const patchScheduleProperty: sagemaker.CfnCluster.PatchScheduleProperty = {
  nextPatchDate: 'nextPatchDate',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

patch_schedule_property = sagemaker.CfnCluster.PatchScheduleProperty(
    next_patch_date="nextPatchDate"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

PatchScheduleProperty patchScheduleProperty = PatchScheduleProperty.builder()
        .nextPatchDate("nextPatchDate")
        .build();
```

C# / .NET:

```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.AWS.Sagemaker;

var patchScheduleProperty = new PatchScheduleProperty {
    NextPatchDate = "nextPatchDate"
};
```

Golang:

```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"

patchScheduleProperty := &PatchScheduleProperty{
	NextPatchDate: jsii.String("nextPatchDate"),
}
```

## Properties

- `nextPatchDate`: string — The date and time of the next scheduled patch, set by the system when a patch AMI is detected.
