Interface CfnInferenceComponentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:04.978Z")
@Stability(Stable)
public interface CfnInferenceComponentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnInferenceComponentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
CfnInferenceComponentMixinProps cfnInferenceComponentMixinProps = CfnInferenceComponentMixinProps.builder()
.deploymentConfig(InferenceComponentDeploymentConfigProperty.builder()
.autoRollbackConfiguration(AutoRollbackConfigurationProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
.build()))
.build())
.rollingUpdatePolicy(InferenceComponentRollingUpdatePolicyProperty.builder()
.maximumBatchSize(InferenceComponentCapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.maximumExecutionTimeoutInSeconds(123)
.rollbackMaximumBatchSize(InferenceComponentCapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.waitIntervalInSeconds(123)
.build())
.build())
.endpointArn("endpointArn")
.endpointName("endpointName")
.inferenceComponentName("inferenceComponentName")
.runtimeConfig(InferenceComponentRuntimeConfigProperty.builder()
.copyCount(123)
.currentCopyCount(123)
.desiredCopyCount(123)
.build())
.specification(InferenceComponentSpecificationProperty.builder()
.baseInferenceComponentName("baseInferenceComponentName")
.computeResourceRequirements(InferenceComponentComputeResourceRequirementsProperty.builder()
.maxMemoryRequiredInMb(123)
.minMemoryRequiredInMb(123)
.numberOfAcceleratorDevicesRequired(123)
.numberOfCpuCoresRequired(123)
.build())
.container(InferenceComponentContainerSpecificationProperty.builder()
.artifactUrl("artifactUrl")
.deployedImage(DeployedImageProperty.builder()
.resolutionTime("resolutionTime")
.resolvedImage("resolvedImage")
.specifiedImage("specifiedImage")
.build())
.environment(Map.of(
"environmentKey", "environment"))
.image("image")
.build())
.modelName("modelName")
.startupParameters(InferenceComponentStartupParametersProperty.builder()
.containerStartupHealthCheckTimeoutInSeconds(123)
.modelDataDownloadTimeoutInSeconds(123)
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variantName("variantName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInferenceComponentMixinPropsstatic final classAn implementation forCfnInferenceComponentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.default StringThe Amazon Resource Name (ARN) of the endpoint that hosts the inference component.default StringThe name of the endpoint that hosts the inference component.default StringThe name of the inference component.default ObjectThe runtime config for the inference component.default ObjectThe specification for the inference component.getTags()An array of tags to apply to the resource.default StringThe name of the production variant that hosts the inference component.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentConfig
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.Returns union: either
IResolvableorCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty- See Also:
-
getEndpointArn
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.- See Also:
-
getEndpointName
The name of the endpoint that hosts the inference component.- See Also:
-
getInferenceComponentName
The name of the inference component.- See Also:
-
getRuntimeConfig
The runtime config for the inference component.Returns union: either
IResolvableorCfnInferenceComponentPropsMixin.InferenceComponentRuntimeConfigProperty- See Also:
-
getSpecification
The specification for the inference component.Returns union: either
IResolvableorCfnInferenceComponentPropsMixin.InferenceComponentSpecificationProperty- See Also:
-
getTags
An array of tags to apply to the resource.- See Also:
-
getVariantName
The name of the production variant that hosts the inference component.- See Also:
-
builder
-