Skip to content
v2.278.0

PatchScheduleProperty Struct ​

The schedule configuration for automatic patching.

Example ​

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
# 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
// 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();
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"
};
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 ​

nextPatchDateoptionalstringnext_patch_dateoptionalstrnextPatchDateoptionalStringNextPatchDateoptionalstringNextPatchDateoptional*string #
The date and time of the next scheduled patch, set by the system when a patch AMI is detected.