public static final class SageMakerCreateEndpointConfig.Builder
extends java.lang.Object
SageMakerCreateEndpointConfig
.Modifier and Type | Method and Description |
---|---|
SageMakerCreateEndpointConfig |
build() |
SageMakerCreateEndpointConfig.Builder |
comment(java.lang.String comment)
An optional description for this state.
|
static SageMakerCreateEndpointConfig.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
SageMakerCreateEndpointConfig.Builder |
endpointConfigName(java.lang.String endpointConfigName)
The name of the endpoint configuration.
|
SageMakerCreateEndpointConfig.Builder |
heartbeat(Duration heartbeat)
Timeout for the heartbeat.
|
SageMakerCreateEndpointConfig.Builder |
inputPath(java.lang.String inputPath)
JSONPath expression to select part of the state to be the input to this state.
|
SageMakerCreateEndpointConfig.Builder |
integrationPattern(IntegrationPattern integrationPattern)
AWS Step Functions integrates with services directly in the Amazon States Language.
|
SageMakerCreateEndpointConfig.Builder |
kmsKey(IKey kmsKey)
AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
|
SageMakerCreateEndpointConfig.Builder |
outputPath(java.lang.String outputPath)
JSONPath expression to select select a portion of the state output to pass to the next state.
|
SageMakerCreateEndpointConfig.Builder |
productionVariants(java.util.List<? extends ProductionVariant> productionVariants)
An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
|
SageMakerCreateEndpointConfig.Builder |
resultPath(java.lang.String resultPath)
JSONPath expression to indicate where to inject the state's output.
|
SageMakerCreateEndpointConfig.Builder |
resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
SageMakerCreateEndpointConfig.Builder |
tags(TaskInput tags)
Tags to be applied to the endpoint configuration.
|
SageMakerCreateEndpointConfig.Builder |
timeout(Duration timeout)
Timeout for the state machine.
|
public static SageMakerCreateEndpointConfig.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.SageMakerCreateEndpointConfig.Builder
.public SageMakerCreateEndpointConfig.Builder comment(java.lang.String comment)
Default: - No comment
comment
- An optional description for this state. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder heartbeat(Duration heartbeat)
Default: - None
heartbeat
- Timeout for the heartbeat. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder inputPath(java.lang.String inputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
inputPath
- JSONPath expression to select part of the state to be the input to this state. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder integrationPattern(IntegrationPattern integrationPattern)
You can control these AWS services using service integration patterns
Default: - `IntegrationPattern.REQUEST_RESPONSE` for most tasks. `IntegrationPattern.RUN_JOB` for the following exceptions: `BatchSubmitJob`, `EmrAddStep`, `EmrCreateCluster`, `EmrTerminationCluster`, and `EmrContainersStartJobRun`.
integrationPattern
- AWS Step Functions integrates with services directly in the Amazon States Language. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder outputPath(java.lang.String outputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
outputPath
- JSONPath expression to select select a portion of the state output to pass to the next state. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder resultPath(java.lang.String resultPath)
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
resultPath
- JSONPath expression to indicate where to inject the state's output. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder resultSelector(java.util.Map<java.lang.String,? extends java.lang.Object> resultSelector)
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
resultSelector
- The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder timeout(Duration timeout)
Default: - None
timeout
- Timeout for the state machine. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder endpointConfigName(java.lang.String endpointConfigName)
endpointConfigName
- The name of the endpoint configuration. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder productionVariants(java.util.List<? extends ProductionVariant> productionVariants)
Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.
productionVariants
- An list of ProductionVariant objects, one for each model that you want to host at this endpoint. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder kmsKey(IKey kmsKey)
Default: - None
kmsKey
- AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. This parameter is required.this
public SageMakerCreateEndpointConfig.Builder tags(TaskInput tags)
Default: - No tags
tags
- Tags to be applied to the endpoint configuration. This parameter is required.this
public SageMakerCreateEndpointConfig build()