AIWorkloadDataSourceProperty Struct
The data source for an AI workload input data channel.
| Source | |
|---|---|
| Type last changed |
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 aIWorkloadDataSourceProperty: sagemaker.CfnAIWorkloadConfig.AIWorkloadDataSourceProperty = {
s3DataSource: {
s3Uri: 's3Uri',
},
};
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_data_source_property = sagemaker.CfnAIWorkloadConfig.AIWorkloadDataSourceProperty(
s3_data_source=sagemaker.CfnAIWorkloadConfig.AIWorkloadS3DataSourceProperty(
s3_uri="s3Uri"
)
)
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.*;
AIWorkloadDataSourceProperty aIWorkloadDataSourceProperty = AIWorkloadDataSourceProperty.builder()
.s3DataSource(AIWorkloadS3DataSourceProperty.builder()
.s3Uri("s3Uri")
.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 aIWorkloadDataSourceProperty = new AIWorkloadDataSourceProperty {
S3DataSource = new AIWorkloadS3DataSourceProperty {
S3Uri = "s3Uri"
}
};
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"
aIWorkloadDataSourceProperty := &AIWorkloadDataSourceProperty{
S3DataSource: &AIWorkloadS3DataSourceProperty{
S3Uri: jsii.String("s3Uri"),
},
}
Properties
s3DataSourceoptionalIResolvable | CfnAIWorkloadConfig.s3_data_sourceoptionaltyping.Union[IResolvable, AIWorkloadS3DataSourceProperty]s3DataSourceoptionalIResolvableS3DataSourceoptionalIResolvableS3DataSourceoptionalinterface{} #The Amazon S3 data source for an AI workload.