Skip to content
v2.278.0

InferenceComponentStartupParametersProperty Struct ​

Settings that take effect while the model container starts up.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const inferenceComponentStartupParametersProperty: sagemaker.CfnInferenceComponent.InferenceComponentStartupParametersProperty = {
  containerStartupHealthCheckTimeoutInSeconds: 123,
  modelDataDownloadTimeoutInSeconds: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

inference_component_startup_parameters_property = sagemaker.CfnInferenceComponent.InferenceComponentStartupParametersProperty(
    container_startup_health_check_timeout_in_seconds=123,
    model_data_download_timeout_in_seconds=123
)
java
// 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.*;

InferenceComponentStartupParametersProperty inferenceComponentStartupParametersProperty = InferenceComponentStartupParametersProperty.builder()
        .containerStartupHealthCheckTimeoutInSeconds(123)
        .modelDataDownloadTimeoutInSeconds(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var inferenceComponentStartupParametersProperty = new InferenceComponentStartupParametersProperty {
    ContainerStartupHealthCheckTimeoutInSeconds = 123,
    ModelDataDownloadTimeoutInSeconds = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

inferenceComponentStartupParametersProperty := &InferenceComponentStartupParametersProperty{
	ContainerStartupHealthCheckTimeoutInSeconds: jsii.Number(123),
	ModelDataDownloadTimeoutInSeconds: jsii.Number(123),
}

Properties ​

containerStartupHealthCheckTimeoutInSecondsoptionalnumbercontainer_startup_health_check_timeout_in_secondsoptionalint | floatcontainerStartupHealthCheckTimeoutInSecondsoptionalNumberContainerStartupHealthCheckTimeoutInSecondsoptionaldoubleContainerStartupHealthCheckTimeoutInSecondsoptional*float64 #
The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting.
notes

For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests .

modelDataDownloadTimeoutInSecondsoptionalnumbermodel_data_download_timeout_in_secondsoptionalint | floatmodelDataDownloadTimeoutInSecondsoptionalNumberModelDataDownloadTimeoutInSecondsoptionaldoubleModelDataDownloadTimeoutInSecondsoptional*float64 #
The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.