Interface CfnEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:38.842Z")
@Stability(Stable)
public interface CfnEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEndpoint
.
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() .autoRollbackConfiguration(AutoRollbackConfigProperty.builder() .alarms(List.of(AlarmProperty.builder() .alarmName("alarmName") .build())) .build()) .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()) .rollingUpdatePolicy(RollingUpdatePolicyProperty.builder() .maximumBatchSize(CapacitySizeProperty.builder() .type("type") .value(123) .build()) .waitIntervalInSeconds(123) // the properties below are optional .maximumExecutionTimeoutInSeconds(123) .rollbackMaximumBatchSize(CapacitySizeProperty.builder() .type("type") .value(123) .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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEndpointProps
static final class
An implementation forCfnEndpointProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEndpointProps.Builder
builder()
default Object
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.The name of the AWS::SageMaker::EndpointConfig resource that specifies the configuration for the endpoint.default String
The name of the endpoint.The name must be unique within an AWS Region in your AWS account.default Object
When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
.default Object
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.default Object
Specifies whether to reuse the last deployment configuration.getTags()
A list of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEndpointConfigName
The name of the AWS::SageMaker::EndpointConfig resource that specifies the configuration for the endpoint. For more information, see CreateEndpointConfig .- See Also:
-
getDeploymentConfig
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- See Also:
-
getEndpointName
The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive inCreateEndpoint
, but the case is preserved and must be matched in .- See Also:
-
getExcludeRetainedVariantProperties
When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue
,ExcludeRetainedVariantProperties
specifies the list of type VariantProperty to override with the values provided byEndpointConfig
. If you don't specify a value forExcludeAllVariantProperties
, no variant properties are overridden. Don't use this property when creating new endpoint resources or whenRetainAllVariantProperties
is set tofalse
.- See Also:
-
getRetainAllVariantProperties
When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.To retain the variant properties of an endpoint when updating it, set
RetainAllVariantProperties
totrue
. To use the variant properties specified in a newEndpointConfig
call when updating an endpoint, setRetainAllVariantProperties
tofalse
. Use this property only when updating endpoint resources, not when creating new endpoint resources.- See Also:
-
getRetainDeploymentConfig
Specifies whether to reuse the last deployment configuration.The default value is false (the configuration is not reused).
- See Also:
-
getTags
A list of key-value pairs to apply to this resource.For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
- See Also:
-
builder
- Returns:
- a
CfnEndpointProps.Builder
ofCfnEndpointProps
-