CfnAIWorkloadConfigProps
- class aws_cdk.aws_sagemaker.CfnAIWorkloadConfigProps(*, ai_workload_config_name, ai_workload_configs=None, dataset_config=None, tags=None)
Bases:
objectProperties for defining a
CfnAIWorkloadConfig.- Parameters:
ai_workload_config_name (
str) – 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.ai_workload_configs (
Union[IResolvable,AIWorkloadConfigsProperty,Dict[str,Any],None]) – The benchmark tool configuration for an AI workload.dataset_config (
Union[IResolvable,AIDatasetConfigProperty,Dict[str,Any],None]) – The dataset configuration for an AI workload.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The metadata that you apply to the AI workload configuration to help you categorize and organize it.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # 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 cfn_ai_workload_config_props = sagemaker.CfnAIWorkloadConfigProps( ai_workload_config_name="aiWorkloadConfigName", # the properties below are optional ai_workload_configs=sagemaker.CfnAIWorkloadConfig.AIWorkloadConfigsProperty( workload_spec=sagemaker.CfnAIWorkloadConfig.WorkloadSpecProperty( inline="inline" ) ), dataset_config=sagemaker.CfnAIWorkloadConfig.AIDatasetConfigProperty( input_data_config=[sagemaker.CfnAIWorkloadConfig.AIWorkloadInputDataConfigProperty( channel_name="channelName", data_source=sagemaker.CfnAIWorkloadConfig.AIWorkloadDataSourceProperty( s3_data_source=sagemaker.CfnAIWorkloadConfig.AIWorkloadS3DataSourceProperty( s3_uri="s3Uri" ) ) )] ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- ai_workload_config_name
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.
- ai_workload_configs
The benchmark tool configuration for an AI workload.
- dataset_config
The dataset configuration for an AI workload.
- tags
The metadata that you apply to the AI workload configuration to help you categorize and organize it.