interface TargetObjectKeyFormatProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3.Mixins.CfnBucketPropsMixin.TargetObjectKeyFormatProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3/mixins#CfnBucketPropsMixin_TargetObjectKeyFormatProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.TargetObjectKeyFormatProperty |
Python | aws_cdk.mixins_preview.aws_s3.mixins.CfnBucketPropsMixin.TargetObjectKeyFormatProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3 » mixins » CfnBucketPropsMixin » 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 { mixins as s3_mixins } from '@aws-cdk/mixins-preview/aws-s3';
declare const simplePrefix: any;
const targetObjectKeyFormatProperty: s3_mixins.CfnBucketPropsMixin.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