CfnAIWorkloadConfigMixinProps
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnAIWorkloadConfigMixinProps(*, ai_workload_config_name=None, ai_workload_configs=None, dataset_config=None, tags=None)
Bases:
objectProperties for CfnAIWorkloadConfigPropsMixin.
- Parameters:
ai_workload_config_name (
Optional[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.cfn_property_mixins import aws_sagemaker as sagemaker cfn_ai_workload_config_mixin_props = sagemaker.CfnAIWorkloadConfigMixinProps( ai_workload_config_name="aiWorkloadConfigName", ai_workload_configs=sagemaker.CfnAIWorkloadConfigPropsMixin.AIWorkloadConfigsProperty( workload_spec=sagemaker.CfnAIWorkloadConfigPropsMixin.WorkloadSpecProperty( inline="inline" ) ), dataset_config=sagemaker.CfnAIWorkloadConfigPropsMixin.AIDatasetConfigProperty( input_data_config=[sagemaker.CfnAIWorkloadConfigPropsMixin.AIWorkloadInputDataConfigProperty( channel_name="channelName", data_source=sagemaker.CfnAIWorkloadConfigPropsMixin.AIWorkloadDataSourceProperty( s3_data_source=sagemaker.CfnAIWorkloadConfigPropsMixin.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.