Interface CfnCluster.ScheduledUpdateConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.ScheduledUpdateConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.ScheduledUpdateConfigProperty
extends software.amazon.jsii.JsiiSerializable
The configuration object of the schedule that SageMaker follows when updating the AMI.
Example:
// 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.*;
ScheduledUpdateConfigProperty scheduledUpdateConfigProperty = ScheduledUpdateConfigProperty.builder()
.scheduleExpression("scheduleExpression")
// the properties below are optional
.deploymentConfig(DeploymentConfigProperty.builder()
.autoRollbackConfiguration(List.of(AlarmDetailsProperty.builder()
.alarmName("alarmName")
.build()))
.rollingUpdatePolicy(RollingUpdatePolicyProperty.builder()
.maximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
// the properties below are optional
.rollbackMaximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
.build())
.waitIntervalInSeconds(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.ScheduledUpdateConfigPropertystatic final classAn implementation forCfnCluster.ScheduledUpdateConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScheduleExpression
A cron expression that specifies the schedule that SageMaker follows when updating the AMI.- See Also:
-
getDeploymentConfig
The configuration to use when updating the AMI versions.Returns union: either
IResolvableorCfnCluster.DeploymentConfigProperty- See Also:
-
builder
-