# S3SourceConfigurationProperty

The S3 source configuration parameters.

- 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_scn as scn } from 'aws-cdk-lib';
const s3SourceConfigurationProperty: scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty = {
  bucketName: 'bucketName',
  prefix: 'prefix',

  // the properties below are optional
  options: {
    fileType: 'fileType',
  },
};
```

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_scn as scn

s3_source_configuration_property = scn.CfnDataIntegrationFlow.S3SourceConfigurationProperty(
    bucket_name="bucketName",
    prefix="prefix",

    # the properties below are optional
    options=scn.CfnDataIntegrationFlow.S3OptionsProperty(
        file_type="fileType"
    )
)
```

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

S3SourceConfigurationProperty s3SourceConfigurationProperty = S3SourceConfigurationProperty.builder()
        .bucketName("bucketName")
        .prefix("prefix")

        // the properties below are optional
        .options(S3OptionsProperty.builder()
                .fileType("fileType")
                .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.SCN;

var s3SourceConfigurationProperty = new S3SourceConfigurationProperty {
    BucketName = "bucketName",
    Prefix = "prefix",

    // the properties below are optional
    Options = new S3OptionsProperty {
        FileType = "fileType"
    }
};
```

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"

s3SourceConfigurationProperty := &S3SourceConfigurationProperty{
	BucketName: jsii.String("bucketName"),
	Prefix: jsii.String("prefix"),

	// the properties below are optional
	Options: &S3OptionsProperty{
		FileType: jsii.String("fileType"),
	},
}
```

## Properties

- `bucketName`: string (required) — The S3 bucket name.

- `options`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataIntegrationFlow.S3OptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_scn.CfnDataIntegrationFlow.S3OptionsProperty.html) — The Amazon S3 options.

- `prefix`: string (required) — The S3 prefix.
