Interface CfnBucket.ITargetObjectKeyFormatProperty
Amazon S3 key format for log objects.
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITargetObjectKeyFormatProperty
Syntax (vb)
Public Interface ITargetObjectKeyFormatProperty
Remarks
Only one format, PartitionedPrefix or SimplePrefix, is allowed.
ExampleMetadata: fixture=_generated
Examples
// 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 simplePrefix;
var targetObjectKeyFormatProperty = new TargetObjectKeyFormatProperty {
PartitionedPrefix = new PartitionedPrefixProperty {
PartitionDateSource = "partitionDateSource"
},
SimplePrefix = simplePrefix
};
Synopsis
Properties
PartitionedPrefix | Partitioned S3 key for log objects. |
SimplePrefix | To use the simple format for S3 keys for log objects. |
Properties
PartitionedPrefix
Partitioned S3 key for log objects.
virtual object PartitionedPrefix { get; }
Property Value
System.Object
Remarks
SimplePrefix
To use the simple format for S3 keys for log objects.
virtual object SimplePrefix { get; }
Property Value
System.Object
Remarks
To specify SimplePrefix format, set SimplePrefix to {}.