@Stability(value=Stable)
public static interface CfnEndpoint.AutoRollbackConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
AutoRollbackConfigProperty autoRollbackConfigProperty = AutoRollbackConfigProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpoint.AutoRollbackConfigProperty.Builder
A builder for
CfnEndpoint.AutoRollbackConfigProperty |
static class |
CfnEndpoint.AutoRollbackConfigProperty.Jsii$Proxy
An implementation for
CfnEndpoint.AutoRollbackConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpoint.AutoRollbackConfigProperty.Builder |
builder() |
Object |
getAlarms()
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.
|
@Stability(value=Stable) @NotNull Object getAlarms()
If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
@Stability(value=Stable) static CfnEndpoint.AutoRollbackConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.