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