Interface CfnAIWorkloadConfigProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIWorkloadConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:00.553Z")
@Stability(Stable)
public interface CfnAIWorkloadConfigProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
CfnAIWorkloadConfigProps cfnAIWorkloadConfigProps = CfnAIWorkloadConfigProps.builder()
.aiWorkloadConfigName("aiWorkloadConfigName")
// the properties below are optional
.aiWorkloadConfigs(AIWorkloadConfigsProperty.builder()
.workloadSpec(WorkloadSpecProperty.builder()
.inline("inline")
.build())
.build())
.datasetConfig(AIDatasetConfigProperty.builder()
.inputDataConfig(List.of(AIWorkloadInputDataConfigProperty.builder()
.channelName("channelName")
.dataSource(AIWorkloadDataSourceProperty.builder()
.s3DataSource(AIWorkloadS3DataSourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIWorkloadConfigPropsstatic final classAn implementation forCfnAIWorkloadConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the AI workload configuration.default ObjectThe benchmark tool configuration for an AI workload.default ObjectThe dataset configuration for an AI workload.getTags()The metadata that you apply to the AI workload configuration to help you categorize and organize it.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAiWorkloadConfigName
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.
- See Also:
-
getAiWorkloadConfigs
The benchmark tool configuration for an AI workload.Returns union: either
IResolvableorCfnAIWorkloadConfig.AIWorkloadConfigsProperty- See Also:
-
getDatasetConfig
The dataset configuration for an AI workload.Returns union: either
IResolvableorCfnAIWorkloadConfig.AIDatasetConfigProperty- See Also:
-
getTags
The metadata that you apply to the AI workload configuration to help you categorize and organize it.- See Also:
-
builder
- Returns:
- a
CfnAIWorkloadConfigProps.BuilderofCfnAIWorkloadConfigProps
-