Skip to content
v2.278.0

InferenceComponentPlacementStatusProperty Struct ​

The number of inference component copies currently placed on instances of a given type.

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 inferenceComponentPlacementStatusProperty: sagemaker.CfnInferenceComponent.InferenceComponentPlacementStatusProperty = {
  currentCopyCount: 123,
  instanceType: 'instanceType',
};
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_placement_status_property = sagemaker.CfnInferenceComponent.InferenceComponentPlacementStatusProperty(
    current_copy_count=123,
    instance_type="instanceType"
)
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.*;

InferenceComponentPlacementStatusProperty inferenceComponentPlacementStatusProperty = InferenceComponentPlacementStatusProperty.builder()
        .currentCopyCount(123)
        .instanceType("instanceType")
        .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 inferenceComponentPlacementStatusProperty = new InferenceComponentPlacementStatusProperty {
    CurrentCopyCount = 123,
    InstanceType = "instanceType"
};
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"

inferenceComponentPlacementStatusProperty := &InferenceComponentPlacementStatusProperty{
	CurrentCopyCount: jsii.Number(123),
	InstanceType: jsii.String("instanceType"),
}

Properties ​

currentCopyCountnumbercurrent_copy_countint | floatcurrentCopyCountNumberCurrentCopyCountdoubleCurrentCopyCount*float64 required #
The number of copies for the inference component.
instanceTypestringinstance_typestrinstanceTypeStringInstanceTypestringInstanceType*string required #
An ML compute instance type.