@Stability(value=Stable) public static final class CfnEndpointConfigProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpointConfigProps>
CfnEndpointConfigProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEndpointConfigProps.Builder productionVariants(IResolvable productionVariants)
CfnEndpointConfigProps.getProductionVariants()productionVariants - A list of `ProductionVariant` objects, one for each model that you want to host at this endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder productionVariants(List<? extends Object> productionVariants)
CfnEndpointConfigProps.getProductionVariants()productionVariants - A list of `ProductionVariant` objects, one for each model that you want to host at this endpoint. This parameter is required.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder asyncInferenceConfig(CfnEndpointConfig.AsyncInferenceConfigProperty asyncInferenceConfig)
CfnEndpointConfigProps.getAsyncInferenceConfig()asyncInferenceConfig - Specifies configuration for how an endpoint performs asynchronous inference.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder asyncInferenceConfig(IResolvable asyncInferenceConfig)
CfnEndpointConfigProps.getAsyncInferenceConfig()asyncInferenceConfig - Specifies configuration for how an endpoint performs asynchronous inference.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder dataCaptureConfig(CfnEndpointConfig.DataCaptureConfigProperty dataCaptureConfig)
CfnEndpointConfigProps.getDataCaptureConfig()dataCaptureConfig - Specifies how to capture endpoint data for model monitor.
The data capture configuration applies to all production variants hosted at the endpoint.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder dataCaptureConfig(IResolvable dataCaptureConfig)
CfnEndpointConfigProps.getDataCaptureConfig()dataCaptureConfig - Specifies how to capture endpoint data for model monitor.
The data capture configuration applies to all production variants hosted at the endpoint.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder endpointConfigName(String endpointConfigName)
CfnEndpointConfigProps.getEndpointConfigName()endpointConfigName - The name of the endpoint configuration.this@Stability(value=Stable) public CfnEndpointConfigProps.Builder kmsKeyId(String kmsKeyId)
CfnEndpointConfigProps.getKmsKeyId()kmsKeyId - The Amazon Resource Name (ARN) of an 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.
1234abcd-12ab-34cd-56ef-1234567890abarn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890abalias/ExampleAliasarn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint , UpdateEndpoint requests. For more information, refer to the AWS Key Management Service section Using Key Policies in AWS KMS
Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a
KmsKeyIdwhen using an instance type with local storage. If any of the models that you specify in theProductionVariantsparameter use nitro-based instances with local storage, do not specify a value for theKmsKeyIdparameter. If you specify a value forKmsKeyIdwhen using any nitro-based instances with local storage, the call toCreateEndpointConfigfails.For a list of instance types that support local instance storage, see Instance Store Volumes .
For more information about local instance storage encryption, see SSD Instance Store Volumes .
this@Stability(value=Stable) public CfnEndpointConfigProps.Builder tags(List<? extends CfnTag> tags)
CfnEndpointConfigProps.getTags()tags - A list of key-value pairs to apply to this resource.
For more information, see Resource Tag and Using Cost Allocation Tags .this@Stability(value=Stable) public CfnEndpointConfigProps build()
build in interface software.amazon.jsii.Builder<CfnEndpointConfigProps>CfnEndpointConfigPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.