BucketInventoryConfigurationArgs

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

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: Output<BucketDestinationArgs>, enabled: Output<Boolean>, id: Output<String>, includedObjectVersions: Output<BucketInventoryConfigurationIncludedObjectVersions>, optionalFields: Output<List<BucketInventoryConfigurationOptionalFieldsItem>>? = null, prefix: Output<String>? = null, scheduleFrequency: Output<BucketInventoryConfigurationScheduleFrequency>)

Properties

Link copied to clipboard

Contains information about where to publish the inventory results.

Link copied to clipboard
val enabled: Output<Boolean>

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: Output<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: Output<String>? = null

Specifies the inventory filter prefix.

Link copied to clipboard

Specifies the schedule for generating inventory results.

Functions

Link copied to clipboard
open override fun toJava(): BucketInventoryConfigurationArgs