# ErrorReportConfigurationProperty

Configuration required for error reporting.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 errorReportConfigurationProperty: timestream.CfnScheduledQuery.ErrorReportConfigurationProperty = {
  s3Configuration: {
    bucketName: 'bucketName',

    // the properties below are optional
    encryptionOption: 'encryptionOption',
    objectKeyPrefix: 'objectKeyPrefix',
  },
};
```

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

error_report_configuration_property = timestream.CfnScheduledQuery.ErrorReportConfigurationProperty(
    s3_configuration=timestream.CfnScheduledQuery.S3ConfigurationProperty(
        bucket_name="bucketName",

        # the properties below are optional
        encryption_option="encryptionOption",
        object_key_prefix="objectKeyPrefix"
    )
)
```

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

ErrorReportConfigurationProperty errorReportConfigurationProperty = ErrorReportConfigurationProperty.builder()
        .s3Configuration(S3ConfigurationProperty.builder()
                .bucketName("bucketName")

                // the properties below are optional
                .encryptionOption("encryptionOption")
                .objectKeyPrefix("objectKeyPrefix")
                .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.Timestream;

var errorReportConfigurationProperty = new ErrorReportConfigurationProperty {
    S3Configuration = new S3ConfigurationProperty {
        BucketName = "bucketName",

        // the properties below are optional
        EncryptionOption = "encryptionOption",
        ObjectKeyPrefix = "objectKeyPrefix"
    }
};
```

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"

errorReportConfigurationProperty := &ErrorReportConfigurationProperty{
	S3Configuration: &S3ConfigurationProperty{
		BucketName: jsii.String("bucketName"),

		// the properties below are optional
		EncryptionOption: jsii.String("encryptionOption"),
		ObjectKeyPrefix: jsii.String("objectKeyPrefix"),
	},
}
```

## Properties

- `s3Configuration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnScheduledQuery.S3ConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_timestream.CfnScheduledQuery.S3ConfigurationProperty.html) (required) — The S3 configuration for the error reports.
