BucketInventoryConfiguration

data class BucketInventoryConfiguration(val destination: BucketDestination, val enabled: Boolean, val id: String, val includedObjectVersions: BucketInventoryConfigurationIncludedObjectVersions, val optionalFields: List<BucketInventoryConfigurationOptionalFieldsItem>? = null, val prefix: String? = null, val scheduleFrequency: BucketInventoryConfigurationScheduleFrequency)

Specifies the inventory configuration for an Amazon S3 bucket. For more information, see GET Bucket inventory in the Amazon S3 API Reference.

Constructors

Link copied to clipboard
constructor(destination: BucketDestination, enabled: Boolean, id: String, includedObjectVersions: BucketInventoryConfigurationIncludedObjectVersions, optionalFields: List<BucketInventoryConfigurationOptionalFieldsItem>? = null, prefix: String? = null, scheduleFrequency: BucketInventoryConfigurationScheduleFrequency)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Contains information about where to publish the inventory results.

Link copied to clipboard

Specifies whether the inventory is enabled or disabled. If set to `True`, an inventory list is generated. If set to `False`, no inventory list is generated.

Link copied to clipboard
val id: String

The ID used to identify the inventory configuration.

Link copied to clipboard

Object versions to include in the inventory list. If set to `All`, the list includes all the object versions, which adds the version-related fields `VersionId`, `IsLatest`, and `DeleteMarker` to the list. If set to `Current`, the list does not contain these version-related fields.

Link copied to clipboard

Contains the optional fields that are included in the inventory results.

Link copied to clipboard
val prefix: String? = null

Specifies the inventory filter prefix.

Link copied to clipboard

Specifies the schedule for generating inventory results.