Interface CfnBucket.TargetObjectKeyFormatProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucket.TargetObjectKeyFormatProperty.Jsii$Proxy
- Enclosing class:
CfnBucket
@Stability(Stable)
public static interface CfnBucket.TargetObjectKeyFormatProperty
extends software.amazon.jsii.JsiiSerializable
Amazon S3 key format for log objects.
Only one format, PartitionedPrefix or SimplePrefix, is allowed.
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.*;
Object simplePrefix;
TargetObjectKeyFormatProperty targetObjectKeyFormatProperty = TargetObjectKeyFormatProperty.builder()
.partitionedPrefix(PartitionedPrefixProperty.builder()
.partitionDateSource("partitionDateSource")
.build())
.simplePrefix(simplePrefix)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucket.TargetObjectKeyFormatPropertystatic final classAn implementation forCfnBucket.TargetObjectKeyFormatProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPartitionedPrefix
Partitioned S3 key for log objects.Returns union: either
IResolvableorCfnBucket.PartitionedPrefixProperty- See Also:
-
getSimplePrefix
To use the simple format for S3 keys for log objects.To specify SimplePrefix format, set SimplePrefix to {}.
- See Also:
-
builder
-