# S3LocationProperty

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const s3LocationProperty: sam.CfnFunction.S3LocationProperty = {
  bucket: 'bucket',
  key: 'key',

  // the properties below are optional
  version: 123,
};
```

## Properties

- `bucket`: string (required)

- `key`: string (required)

- `version`: number
