# MagneticStoreRejectedDataLocationProperty

The location to write error reports for records rejected, asynchronously, during magnetic store writes.

- 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 magneticStoreRejectedDataLocationProperty: timestream.CfnTable.MagneticStoreRejectedDataLocationProperty = {
  s3Configuration: {
    bucketName: 'bucketName',
    encryptionOption: 'encryptionOption',

    // the properties below are optional
    kmsKeyId: 'kmsKeyId',
    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

magnetic_store_rejected_data_location_property = timestream.CfnTable.MagneticStoreRejectedDataLocationProperty(
    s3_configuration=timestream.CfnTable.S3ConfigurationProperty(
        bucket_name="bucketName",
        encryption_option="encryptionOption",

        # the properties below are optional
        kms_key_id="kmsKeyId",
        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.*;

MagneticStoreRejectedDataLocationProperty magneticStoreRejectedDataLocationProperty = MagneticStoreRejectedDataLocationProperty.builder()
        .s3Configuration(S3ConfigurationProperty.builder()
                .bucketName("bucketName")
                .encryptionOption("encryptionOption")

                // the properties below are optional
                .kmsKeyId("kmsKeyId")
                .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 magneticStoreRejectedDataLocationProperty = new MagneticStoreRejectedDataLocationProperty {
    S3Configuration = new S3ConfigurationProperty {
        BucketName = "bucketName",
        EncryptionOption = "encryptionOption",

        // the properties below are optional
        KmsKeyId = "kmsKeyId",
        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"

magneticStoreRejectedDataLocationProperty := &MagneticStoreRejectedDataLocationProperty{
	S3Configuration: &S3ConfigurationProperty{
		BucketName: jsii.String("bucketName"),
		EncryptionOption: jsii.String("encryptionOption"),

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

## Properties

- `s3Configuration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTable.S3ConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_timestream.CfnTable.S3ConfigurationProperty.html) — Configuration of an S3 location to write error reports for records rejected, asynchronously, during magnetic store writes.
