Skip to content
v2.278.0

PartitionedPrefixProperty ​

Struct External

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].

Example ​

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 partitionedPrefixProperty: s3tables.CfnTableBucket.PartitionedPrefixProperty = {
  partitionDateSource: 'partitionDateSource',
};
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

partitioned_prefix_property = s3tables.CfnTableBucket.PartitionedPrefixProperty(
    partition_date_source="partitionDateSource"
)
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.*;

PartitionedPrefixProperty partitionedPrefixProperty = PartitionedPrefixProperty.builder()
        .partitionDateSource("partitionDateSource")
        .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.S3Tables;

var partitionedPrefixProperty = new PartitionedPrefixProperty {
    PartitionDateSource = "partitionDateSource"
};
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"

partitionedPrefixProperty := &PartitionedPrefixProperty{
	PartitionDateSource: jsii.String("partitionDateSource"),
}

Properties ​

partitionDateSourcestringpartition_date_sourcestrpartitionDateSourceStringPartitionDateSourcestringPartitionDateSource*string required #
The date to use for the log object key partitions.

Valid values are EventTime, the time that the requests in the log were made, and DeliveryTime, the time that the log was delivered.