# S3SourceProperty

A physical table type for an S3 data source.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const s3SourceProperty: quicksight.CfnDataSet.S3SourceProperty = {
  dataSourceArn: 'dataSourceArn',
  inputColumns: [{
    name: 'name',
    type: 'type',

    // the properties below are optional
    id: 'id',
    subType: 'subType',
  }],

  // the properties below are optional
  uploadSettings: {
    containsHeader: false,
    delimiter: 'delimiter',
    format: 'format',
    startFromRow: 123,
    textQualifier: 'textQualifier',
  },
};
```

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_quicksight as quicksight

s3_source_property = quicksight.CfnDataSet.S3SourceProperty(
    data_source_arn="dataSourceArn",
    input_columns=[quicksight.CfnDataSet.InputColumnProperty(
        name="name",
        type="type",

        # the properties below are optional
        id="id",
        sub_type="subType"
    )],

    # the properties below are optional
    upload_settings=quicksight.CfnDataSet.UploadSettingsProperty(
        contains_header=False,
        delimiter="delimiter",
        format="format",
        start_from_row=123,
        text_qualifier="textQualifier"
    )
)
```

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.quicksight.*;

S3SourceProperty s3SourceProperty = S3SourceProperty.builder()
        .dataSourceArn("dataSourceArn")
        .inputColumns(List.of(InputColumnProperty.builder()
                .name("name")
                .type("type")

                // the properties below are optional
                .id("id")
                .subType("subType")
                .build()))

        // the properties below are optional
        .uploadSettings(UploadSettingsProperty.builder()
                .containsHeader(false)
                .delimiter("delimiter")
                .format("format")
                .startFromRow(123)
                .textQualifier("textQualifier")
                .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.QuickSight;

var s3SourceProperty = new S3SourceProperty {
    DataSourceArn = "dataSourceArn",
    InputColumns = new [] { new InputColumnProperty {
        Name = "name",
        Type = "type",

        // the properties below are optional
        Id = "id",
        SubType = "subType"
    } },

    // the properties below are optional
    UploadSettings = new UploadSettingsProperty {
        ContainsHeader = false,
        Delimiter = "delimiter",
        Format = "format",
        StartFromRow = 123,
        TextQualifier = "textQualifier"
    }
};
```

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"

s3SourceProperty := &S3SourceProperty{
	DataSourceArn: jsii.String("dataSourceArn"),
	InputColumns: []interface{}{
		&InputColumnProperty{
			Name: jsii.String("name"),
			Type: jsii.String("type"),

			// the properties below are optional
			Id: jsii.String("id"),
			SubType: jsii.String("subType"),
		},
	},

	// the properties below are optional
	UploadSettings: &UploadSettingsProperty{
		ContainsHeader: jsii.Boolean(false),
		Delimiter: jsii.String("delimiter"),
		Format: jsii.String("format"),
		StartFromRow: jsii.Number(123),
		TextQualifier: jsii.String("textQualifier"),
	},
}
```

## Properties

- `dataSourceArn`: string (required) — The Amazon Resource Name (ARN) for the data source.

- `inputColumns`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.InputColumnProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.InputColumnProperty.html)[] (required) — A physical table type for an S3 data source.

  > For files that aren't JSON, only `STRING` data types are supported in input columns.

- `uploadSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.UploadSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.UploadSettingsProperty.html) — Information about the format for the S3 source file or files.
