Class CfnEndpointConfigPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin>
- Enclosing class:
CfnEndpointConfigPropsMixin
CfnEndpointConfigPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionasyncInferenceConfig(CfnEndpointConfigPropsMixin.AsyncInferenceConfigProperty asyncInferenceConfig) Specifies configuration for how an endpoint performs asynchronous inference.asyncInferenceConfig(IResolvable asyncInferenceConfig) Specifies configuration for how an endpoint performs asynchronous inference.build()create()create(CfnPropertyMixinOptions options) dataCaptureConfig(CfnEndpointConfigPropsMixin.DataCaptureConfigProperty dataCaptureConfig) Specifies how to capture endpoint data for model monitor.dataCaptureConfig(IResolvable dataCaptureConfig) Specifies how to capture endpoint data for model monitor.enableNetworkIsolation(Boolean enableNetworkIsolation) enableNetworkIsolation(IResolvable enableNetworkIsolation) endpointConfigName(String endpointConfigName) The name of the endpoint configuration.executionRoleArn(String executionRoleArn) explainerConfig(CfnEndpointConfigPropsMixin.ExplainerConfigProperty explainerConfig) A parameter to activate explainers.explainerConfig(IResolvable explainerConfig) A parameter to activate explainers.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.productionVariants(List<? extends Object> productionVariants) A list ofProductionVariantobjects, one for each model that you want to host at this endpoint.productionVariants(IResolvable productionVariants) A list ofProductionVariantobjects, one for each model that you want to host at this endpoint.shadowProductionVariants(List<? extends Object> shadowProductionVariants) Array ofProductionVariantobjects.shadowProductionVariants(IResolvable shadowProductionVariants) Array ofProductionVariantobjects.A list of key-value pairs to apply to this resource.vpcConfig(IResolvable vpcConfig)
-
Method Details
-
create
@Stability(Stable) public static CfnEndpointConfigPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.Builder.
-
asyncInferenceConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder asyncInferenceConfig(IResolvable asyncInferenceConfig) Specifies configuration for how an endpoint performs asynchronous inference.- Parameters:
asyncInferenceConfig- Specifies configuration for how an endpoint performs asynchronous inference. This parameter is required.- Returns:
this- See Also:
-
asyncInferenceConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder asyncInferenceConfig(CfnEndpointConfigPropsMixin.AsyncInferenceConfigProperty asyncInferenceConfig) Specifies configuration for how an endpoint performs asynchronous inference.- Parameters:
asyncInferenceConfig- Specifies configuration for how an endpoint performs asynchronous inference. This parameter is required.- Returns:
this- See Also:
-
dataCaptureConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder dataCaptureConfig(IResolvable dataCaptureConfig) Specifies how to capture endpoint data for model monitor.The data capture configuration applies to all production variants hosted at the endpoint.
- Parameters:
dataCaptureConfig- Specifies how to capture endpoint data for model monitor. This parameter is required.- Returns:
this- See Also:
-
dataCaptureConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder dataCaptureConfig(CfnEndpointConfigPropsMixin.DataCaptureConfigProperty dataCaptureConfig) Specifies how to capture endpoint data for model monitor.The data capture configuration applies to all production variants hosted at the endpoint.
- Parameters:
dataCaptureConfig- Specifies how to capture endpoint data for model monitor. This parameter is required.- Returns:
this- See Also:
-
enableNetworkIsolation
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder enableNetworkIsolation(Boolean enableNetworkIsolation) - Parameters:
enableNetworkIsolation- This parameter is required.- Returns:
this- See Also:
-
enableNetworkIsolation
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder enableNetworkIsolation(IResolvable enableNetworkIsolation) - Parameters:
enableNetworkIsolation- This parameter is required.- Returns:
this- See Also:
-
endpointConfigName
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder endpointConfigName(String endpointConfigName) The name of the endpoint configuration.- Parameters:
endpointConfigName- The name of the endpoint configuration. This parameter is required.- Returns:
this- See Also:
-
executionRoleArn
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder executionRoleArn(String executionRoleArn) - Parameters:
executionRoleArn- This parameter is required.- Returns:
this- See Also:
-
explainerConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder explainerConfig(IResolvable explainerConfig) A parameter to activate explainers.- Parameters:
explainerConfig- A parameter to activate explainers. This parameter is required.- Returns:
this- See Also:
-
explainerConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder explainerConfig(CfnEndpointConfigPropsMixin.ExplainerConfigProperty explainerConfig) A parameter to activate explainers.- Parameters:
explainerConfig- A parameter to activate explainers. This parameter is required.- Returns:
this- See Also:
-
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.- Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab - Key ARN:
arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - Alias name:
alias/ExampleAlias - Alias name ARN:
arn: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,UpdateEndpointrequests. For more information, refer to the AWS Key Management Service section Using Key Policies in AWS KMSCertain 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 .
- Parameters:
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. This parameter is required.- Returns:
this- See Also:
- Key ID:
-
productionVariants
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder productionVariants(IResolvable productionVariants) A list ofProductionVariantobjects, one for each model that you want to host at this endpoint.- Parameters:
productionVariants- A list ofProductionVariantobjects, one for each model that you want to host at this endpoint. This parameter is required.- Returns:
this- See Also:
-
productionVariants
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder productionVariants(List<? extends Object> productionVariants) A list ofProductionVariantobjects, one for each model that you want to host at this endpoint.- Parameters:
productionVariants- A list ofProductionVariantobjects, one for each model that you want to host at this endpoint. This parameter is required.- Returns:
this- See Also:
-
shadowProductionVariants
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder shadowProductionVariants(IResolvable shadowProductionVariants) Array ofProductionVariantobjects.There is one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants. If you use this field, you can only specify one variant forProductionVariantsand one variant forShadowProductionVariants.- Parameters:
shadowProductionVariants- Array ofProductionVariantobjects. This parameter is required.- Returns:
this- See Also:
-
shadowProductionVariants
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder shadowProductionVariants(List<? extends Object> shadowProductionVariants) Array ofProductionVariantobjects.There is one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on
ProductionVariants. If you use this field, you can only specify one variant forProductionVariantsand one variant forShadowProductionVariants.- Parameters:
shadowProductionVariants- Array ofProductionVariantobjects. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs to apply to this resource.For more information, see Resource Tag and Using Cost Allocation Tags .
- Parameters:
tags- A list of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
- Parameters:
vpcConfig- This parameter is required.- Returns:
this- See Also:
-
vpcConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.Builder vpcConfig(CfnEndpointConfigPropsMixin.VpcConfigProperty vpcConfig) - Parameters:
vpcConfig- This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfigPropsMixin>- Returns:
- a newly built instance of
CfnEndpointConfigPropsMixin.
-