interface CfnAIWorkloadConfigProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnAIWorkloadConfigProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnAIWorkloadConfigProps |
Java | software.amazon.awscdk.services.sagemaker.CfnAIWorkloadConfigProps |
Python | aws_cdk.aws_sagemaker.CfnAIWorkloadConfigProps |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnAIWorkloadConfigProps |
Properties for defining a CfnAIWorkloadConfig.
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 cfnAIWorkloadConfigProps: sagemaker.CfnAIWorkloadConfigProps = {
aiWorkloadConfigName: 'aiWorkloadConfigName',
// the properties below are optional
aiWorkloadConfigs: {
workloadSpec: {
inline: 'inline',
},
},
datasetConfig: {
inputDataConfig: [{
channelName: 'channelName',
dataSource: {
s3DataSource: {
s3Uri: 's3Uri',
},
},
}],
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| ai | string | The name of the AI workload configuration. |
| ai | IResolvable | AIWorkload | The benchmark tool configuration for an AI workload. |
| dataset | IResolvable | AIDataset | The dataset configuration for an AI workload. |
| tags? | Cfn[] | The metadata that you apply to the AI workload configuration to help you categorize and organize it. |
aiWorkloadConfigName
Type:
string
The name of the AI workload configuration.
The name must be unique within your AWS account in the current AWS Region. Only lowercase letters and digits are accepted: DeleteAIWorkloadConfig lowercases the name before looking it up, so a name containing an uppercase letter produces a configuration that can be created and read but never deleted.
aiWorkloadConfigs?
Type:
IResolvable | AIWorkload
(optional)
The benchmark tool configuration for an AI workload.
datasetConfig?
Type:
IResolvable | AIDataset
(optional)
The dataset configuration for an AI workload.
tags?
Type:
Cfn[]
(optional)
The metadata that you apply to the AI workload configuration to help you categorize and organize it.

.NET
Go
Java
Python
TypeScript