@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.896Z") @Stability(value=Stable) public interface CfnEndpointProps 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.*;
CfnEndpointProps cfnEndpointProps = CfnEndpointProps.builder()
.endpointConfigName("endpointConfigName")
// the properties below are optional
.deploymentConfig(DeploymentConfigProperty.builder()
.blueGreenUpdatePolicy(BlueGreenUpdatePolicyProperty.builder()
.trafficRoutingConfiguration(TrafficRoutingConfigProperty.builder()
.type("type")
// the properties below are optional
.canarySize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.linearStepSize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.waitIntervalInSeconds(123)
.build())
// the properties below are optional
.maximumExecutionTimeoutInSeconds(123)
.terminationWaitInSeconds(123)
.build())
// the properties below are optional
.autoRollbackConfiguration(AutoRollbackConfigProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
.build()))
.build())
.build())
.endpointName("endpointName")
.excludeRetainedVariantProperties(List.of(VariantPropertyProperty.builder()
.variantPropertyType("variantPropertyType")
.build()))
.retainAllVariantProperties(false)
.retainDeploymentConfig(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEndpointProps.Builder
A builder for
CfnEndpointProps |
static class |
CfnEndpointProps.Jsii$Proxy
An implementation for
CfnEndpointProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEndpointProps.Builder |
builder() |
default Object |
getDeploymentConfig()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
|
String |
getEndpointConfigName()
The name of the [AWS::SageMaker::EndpointConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html) resource that specifies the configuration for the endpoint.
|
default String |
getEndpointName()
The name of the endpoint.The name must be unique within an AWS Region in your AWS account.
|
default Object |
getExcludeRetainedVariantProperties()
When you are updating endpoint resources with [RetainAllVariantProperties](https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties) whose value is set to `true` , `ExcludeRetainedVariantProperties` specifies the list of type [VariantProperty](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html) to override with the values provided by `EndpointConfig` .
|
default Object |
getRetainAllVariantProperties()
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.
|
default Object |
getRetainDeploymentConfig()
Specifies whether to reuse the last deployment configuration.
|
default List<CfnTag> |
getTags()
A list of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull String getEndpointConfigName()
@Stability(value=Stable) @Nullable default Object getDeploymentConfig()
@Stability(value=Stable) @Nullable default String getEndpointName()
@Stability(value=Stable) @Nullable default Object getExcludeRetainedVariantProperties()
@Stability(value=Stable) @Nullable default Object getRetainAllVariantProperties()
To retain the variant properties of an endpoint when updating it, set RetainAllVariantProperties to true . To use the variant properties specified in a new EndpointConfig call when updating an endpoint, set RetainAllVariantProperties to false . Use this property only when updating endpoint resources, not when creating new endpoint resources.
@Stability(value=Stable) @Nullable default Object getRetainDeploymentConfig()
The default value is false (the configuration is not reused).
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
@Stability(value=Stable) static CfnEndpointProps.Builder builder()
CfnEndpointProps.Builder of CfnEndpointPropsCopyright © 2022. All rights reserved.