Skip to content
v2.277.0

AIWorkloadConfigsProperty Struct ​

The benchmark tool configuration for an AI workload.

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 aIWorkloadConfigsProperty: sagemaker.CfnAIWorkloadConfig.AIWorkloadConfigsProperty = {
  workloadSpec: {
    inline: 'inline',
  },
};
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

a_i_workload_configs_property = sagemaker.CfnAIWorkloadConfig.AIWorkloadConfigsProperty(
    workload_spec=sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty(
        inline="inline"
    )
)
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.*;

AIWorkloadConfigsProperty aIWorkloadConfigsProperty = AIWorkloadConfigsProperty.builder()
        .workloadSpec(WorkloadSpecProperty.builder()
                .inline("inline")
                .build())
        .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 aIWorkloadConfigsProperty = new AIWorkloadConfigsProperty {
    WorkloadSpec = new WorkloadSpecProperty {
        Inline = "inline"
    }
};
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"

aIWorkloadConfigsProperty := &AIWorkloadConfigsProperty{
	WorkloadSpec: &WorkloadSpecProperty{
		Inline: jsii.String("inline"),
	},
}

Properties ​

workloadSpecIResolvable | CfnAIWorkloadConfig.WorkloadSpecPropertyworkload_spectyping.Union[IResolvable, WorkloadSpecProperty]workloadSpecIResolvableWorkloadSpecIResolvableWorkloadSpecinterface{} required #
The workload specification for benchmark tool configuration.