# AIWorkloadDataSourceProperty

The data source for an AI workload input data channel.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `s3DataSource`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIWorkloadConfig.AIWorkloadS3DataSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnAIWorkloadConfig.AIWorkloadS3DataSourceProperty.html) — The Amazon S3 data source for an AI workload.
