# S3Property

Options for Amazon S3 as a logging destination.

- 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_ec2 as ec2 } from 'aws-cdk-lib';
const s3Property: ec2.CfnVerifiedAccessInstance.S3Property = {
  bucketName: 'bucketName',
  bucketOwner: 'bucketOwner',
  enabled: false,
  prefix: 'prefix',
};
```

## Properties

- `bucketName`: string — The bucket name.

- `bucketOwner`: string — The AWS account number that owns the bucket.

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether logging is enabled.

- `prefix`: string — The bucket prefix.
