interface WorkloadSpecProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAIWorkloadConfig_WorkloadSpecProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty |
Python | aws_cdk.aws_sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnAIWorkloadConfig » WorkloadSpecProperty |
The workload specification for benchmark tool configuration.
Example
// 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 workloadSpecProperty: sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty = {
inline: 'inline',
};
Properties
| Name | Type | Description |
|---|---|---|
| inline | string | An inline YAML or JSON string that defines benchmark parameters. |
inline
Type:
string
An inline YAML or JSON string that defines benchmark parameters.
The service validates the document against its own benchmark schema: it must declare a benchmark object whose type member matches the pattern ^(aiperf)$.

.NET
Go
Java
Python
TypeScript