# S3ConfigurationProperty

Struct · External

Configuration for S3 bucket log delivery.

- Source: Generated at build time
- Type last changed: v2.139.0 · 24 Apr 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from 'aws-cdk-lib';
const s3ConfigurationProperty: timestream.CfnInfluxDBInstance.S3ConfigurationProperty = {
  bucketName: 'bucketName',
  enabled: false,
};
```

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_timestream as timestream

s3_configuration_property = timestream.CfnInfluxDBInstance.S3ConfigurationProperty(
    bucket_name="bucketName",
    enabled=False
)
```

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

S3ConfigurationProperty s3ConfigurationProperty = S3ConfigurationProperty.builder()
        .bucketName("bucketName")
        .enabled(false)
        .build();
```

C#:

```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.Timestream;

var s3ConfigurationProperty = new S3ConfigurationProperty {
    BucketName = "bucketName",
    Enabled = false
};
```

Go:

```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"

s3ConfigurationProperty := &S3ConfigurationProperty{
	BucketName: jsii.String("bucketName"),
	Enabled: jsii.Boolean(false),
}
```

## Properties

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

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether log delivery to the S3 bucket is enabled.
