Skip to content

S3  >  Structures  >  TargetObjectKeyFormat

TargetObjectKeyFormat

Structure Class

TargetObjectKeyFormat dataclass

Bases: _SerdeShape

Amazon S3 key format for log objects. Only one format, PartitionedPrefix or SimplePrefix, is allowed.

Attributes

partitioned_prefix class-attribute instance-attribute
partitioned_prefix: PartitionedPrefix | None = ...

Partitioned S3 key for log objects.

simple_prefix class-attribute instance-attribute
simple_prefix: SimplePrefix | None = ...

To use the simple format for S3 keys for log objects. To specify SimplePrefix format, set SimplePrefix to {}.