InventoryState constructor

const InventoryState({
  1. Input<String?>? bucket,
  2. Input<InventoryDestination?>? destination,
  3. Input<bool?>? enabled,
  4. Input<InventoryFilter?>? filter,
  5. Input<String?>? includedObjectVersions,
  6. Input<String?>? name,
  7. Input<List<String>?>? optionalFields,
  8. Input<String?>? region,
  9. Input<InventorySchedule?>? schedule,
})

Creates a new InventoryState. bucket Name of the source bucket that inventory lists the objects for. Both general purpose and directory buckets are supported. destination Where to publish the inventory results. See destination Block below. enabled Whether to enable the inventory. filter Inventory filter. The inventory only includes objects that meet the filter's criteria. See filter Block below. includedObjectVersions Object versions to include in the inventory list. Valid values: All, Current. name Unique identifier of the inventory configuration for the bucket. optionalFields List of optional fields that are included in the inventory results. Please refer to the S3 documentation for more details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. schedule Schedule for generating inventory results. See schedule Block below.

Implementation

const InventoryState({
  this.bucket,
  this.destination,
  this.enabled,
  this.filter,
  this.includedObjectVersions,
  this.name,
  this.optionalFields,
  this.region,
  this.schedule,
});