# S3SourceProps

Construction properties for `S3Source`.

Extends: S3SourceProps
Extends: SourceProps

- Source: [`aws-codebuild/lib/source.ts`](https://github.com/aws/aws-cdk/blob/v2.273.0/packages/aws-cdk-lib/aws-codebuild/lib/source.ts#L662)

## Example

```ts
const bucket = new s3.Bucket(this, 'MyBucket');

new codebuild.Project(this, 'MyProject', {
  source: codebuild.Source.s3({
    bucket: bucket,
    path: 'path/to/file.zip',
  }),
});
```

## Properties

- `bucket`: [IBucket](/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html) (required)

- `identifier`: string — The source identifier.

  This property is required on secondary sources.

- `path`: string (required)

- `version`: string = latest — The version ID of the object that represents the build input ZIP file to use.
