AcceleratorPartitionConfigProperty Struct Added in v2.276.0
Multi-instance GPU (MIG) partition profile and count for fractional accelerator allocation.
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 acceleratorPartitionConfigProperty: sagemaker.CfnComputeQuota.AcceleratorPartitionConfigProperty = {
count: 123,
type: 'type',
};
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
accelerator_partition_config_property = sagemaker.CfnComputeQuota.AcceleratorPartitionConfigProperty(
count=123,
type="type"
)
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.*;
AcceleratorPartitionConfigProperty acceleratorPartitionConfigProperty = AcceleratorPartitionConfigProperty.builder()
.count(123)
.type("type")
.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 acceleratorPartitionConfigProperty = new AcceleratorPartitionConfigProperty {
Count = 123,
Type = "type"
};
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"
acceleratorPartitionConfigProperty := &AcceleratorPartitionConfigProperty{
Count: jsii.Number(123),
Type: jsii.String("type"),
}