interface TargetObjectKeyFormatProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.CfnBucket.TargetObjectKeyFormatProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3#CfnBucket_TargetObjectKeyFormatProperty |
Java | software.amazon.awscdk.services.s3.CfnBucket.TargetObjectKeyFormatProperty |
Python | aws_cdk.aws_s3.CfnBucket.TargetObjectKeyFormatProperty |
TypeScript | aws-cdk-lib » aws_s3 » CfnBucket » TargetObjectKeyFormatProperty |
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 { aws_s3 as s3 } from 'aws-cdk-lib';
declare const simplePrefix: any;
const targetObjectKeyFormatProperty: s3.CfnBucket.TargetObjectKeyFormatProperty = {
partitionedPrefix: {
partitionDateSource: 'partitionDateSource',
},
simplePrefix: simplePrefix,
};
Properties
| Name | Type | Description |
|---|---|---|
| partitioned | IResolvable | Partitioned | Partitioned S3 key for log objects. |
| simple | any | To use the simple format for S3 keys for log objects. |
partitionedPrefix?
Type:
IResolvable | Partitioned
(optional)
Partitioned S3 key for log objects.
simplePrefix?
Type:
any
(optional)
To use the simple format for S3 keys for log objects.
To specify SimplePrefix format, set SimplePrefix to {}.

.NET
Go
Java
Python
TypeScript