Skip to content
v2.278.0

JournalTableConfigurationProperty Struct ​

The journal table configuration for an S3 Metadata configuration.

Example ​

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
# 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
// 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();
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"
};
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 ​

encryptionConfigurationoptionalIResolvable | CfnBucket.MetadataTableEncryptionConfigurationPropertyencryption_configurationoptionaltyping.Union[IResolvable, MetadataTableEncryptionConfigurationProperty]encryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalinterface{} #
The encryption configuration for the journal table.
recordExpirationIResolvable | CfnBucket.RecordExpirationPropertyrecord_expirationtyping.Union[IResolvable, RecordExpirationProperty]recordExpirationIResolvableRecordExpirationIResolvableRecordExpirationinterface{} required #
The journal table record expiration settings for the journal table.
tableArnoptionalstringtable_arnoptionalstrtableArnoptionalStringTableArnoptionalstringTableArnoptional*string #
The Amazon Resource Name (ARN) for the journal table.
tableNameoptionalstringtable_nameoptionalstrtableNameoptionalStringTableNameoptionalstringTableNameoptional*string #
The name of the journal table.