# TargetObjectKeyFormatProperty

Struct · External

The key format of the log objects.

Only PartitionedPrefix is supported.

- Source: Generated at build time
- Type last changed: v2.277.0 · 13 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3tables as s3tables } from 'aws-cdk-lib';
const targetObjectKeyFormatProperty: s3tables.CfnTableBucket.TargetObjectKeyFormatProperty = {
  partitionedPrefix: {
    partitionDateSource: 'partitionDateSource',
  },
};
```

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_s3tables as s3tables

target_object_key_format_property = s3tables.CfnTableBucket.TargetObjectKeyFormatProperty(
    partitioned_prefix=s3tables.CfnTableBucket.PartitionedPrefixProperty(
        partition_date_source="partitionDateSource"
    )
)
```

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

TargetObjectKeyFormatProperty targetObjectKeyFormatProperty = TargetObjectKeyFormatProperty.builder()
        .partitionedPrefix(PartitionedPrefixProperty.builder()
                .partitionDateSource("partitionDateSource")
                .build())
        .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.S3Tables;

var targetObjectKeyFormatProperty = new TargetObjectKeyFormatProperty {
    PartitionedPrefix = new PartitionedPrefixProperty {
        PartitionDateSource = "partitionDateSource"
    }
};
```

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"

targetObjectKeyFormatProperty := &TargetObjectKeyFormatProperty{
	PartitionedPrefix: &PartitionedPrefixProperty{
		PartitionDateSource: jsii.String("partitionDateSource"),
	},
}
```

## Properties

- `partitionedPrefix`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTableBucket.PartitionedPrefixProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3tables.CfnTableBucket.PartitionedPrefixProperty.html) (required) — Amazon S3 keys for log objects are partitioned in the following format: [TargetPrefix][SourceAccountId]/[SourceRegion]/[SourceTableBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString].
