Interface CfnBucket.PartitionedPrefixProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.PartitionedPrefixProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.PartitionedPrefixProperty
extends software.amazon.jsii.JsiiSerializable
Amazon S3 keys for log objects are partitioned in the following format:.
[DestinationPrefix][SourceAccountId]/[SourceRegion]/[SourceBucket]/[YYYY]/[MM]/[DD]/[YYYY]-[MM]-[DD]-[hh]-[mm]-[ss]-[UniqueString]
PartitionedPrefix defaults to EventTime delivery when server access logs are delivered.
Example:
// 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.*; PartitionedPrefixProperty partitionedPrefixProperty = PartitionedPrefixProperty.builder() .partitionDateSource("partitionDateSource") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBucket.PartitionedPrefixProperty
static final class
An implementation forCfnBucket.PartitionedPrefixProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPartitionDateSource
Specifies the partition date source for the partitioned prefix.PartitionDateSource
can beEventTime
orDeliveryTime
.For
DeliveryTime
, the time in the log file names corresponds to the delivery time for the log files.For
EventTime
, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.- See Also:
-
builder
-