# JournalTableConfigurationProperty

The journal table configuration for an S3 Metadata configuration.

- Source: Generated at build time
- Type last changed: v2.208.0 · 29 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const journalTableConfigurationProperty: s3.CfnBucket.JournalTableConfigurationProperty = {
  recordExpiration: {
    expiration: 'expiration',

    // the properties below are optional
    days: 123,
  },

  // the properties below are optional
  encryptionConfiguration: {
    sseAlgorithm: 'sseAlgorithm',

    // the properties below are optional
    kmsKeyArn: 'kmsKeyArn',
  },
  tableArn: 'tableArn',
  tableName: 'tableName',
};
```

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_s3 as s3

journal_table_configuration_property = s3.CfnBucket.JournalTableConfigurationProperty(
    record_expiration=s3.CfnBucket.RecordExpirationProperty(
        expiration="expiration",

        # the properties below are optional
        days=123
    ),

    # the properties below are optional
    encryption_configuration=s3.CfnBucket.MetadataTableEncryptionConfigurationProperty(
        sse_algorithm="sseAlgorithm",

        # the properties below are optional
        kms_key_arn="kmsKeyArn"
    ),
    table_arn="tableArn",
    table_name="tableName"
)
```

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

JournalTableConfigurationProperty journalTableConfigurationProperty = JournalTableConfigurationProperty.builder()
        .recordExpiration(RecordExpirationProperty.builder()
                .expiration("expiration")

                // the properties below are optional
                .days(123)
                .build())

        // the properties below are optional
        .encryptionConfiguration(MetadataTableEncryptionConfigurationProperty.builder()
                .sseAlgorithm("sseAlgorithm")

                // the properties below are optional
                .kmsKeyArn("kmsKeyArn")
                .build())
        .tableArn("tableArn")
        .tableName("tableName")
        .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.S3;

var journalTableConfigurationProperty = new JournalTableConfigurationProperty {
    RecordExpiration = new RecordExpirationProperty {
        Expiration = "expiration",

        // the properties below are optional
        Days = 123
    },

    // the properties below are optional
    EncryptionConfiguration = new MetadataTableEncryptionConfigurationProperty {
        SseAlgorithm = "sseAlgorithm",

        // the properties below are optional
        KmsKeyArn = "kmsKeyArn"
    },
    TableArn = "tableArn",
    TableName = "tableName"
};
```

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"

journalTableConfigurationProperty := &JournalTableConfigurationProperty{
	RecordExpiration: &RecordExpirationProperty{
		Expiration: jsii.String("expiration"),

		// the properties below are optional
		Days: jsii.Number(123),
	},

	// the properties below are optional
	EncryptionConfiguration: &MetadataTableEncryptionConfigurationProperty{
		SseAlgorithm: jsii.String("sseAlgorithm"),

		// the properties below are optional
		KmsKeyArn: jsii.String("kmsKeyArn"),
	},
	TableArn: jsii.String("tableArn"),
	TableName: jsii.String("tableName"),
}
```

## Properties

- `encryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBucket.MetadataTableEncryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnBucket.MetadataTableEncryptionConfigurationProperty.html) — The encryption configuration for the journal table.

- `recordExpiration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBucket.RecordExpirationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.CfnBucket.RecordExpirationProperty.html) (required) — The journal table record expiration settings for the journal table.

- `tableArn`: string — The Amazon Resource Name (ARN) for the journal table.

- `tableName`: string — The name of the journal table.
