Example usage
Schema
Required
bucket(String) Name of source bucket to which the inventory configuration appliesincluded_object_versions(String) Specifies which object versions are included in the inventory results. Valid values areAllandCurrent.name(String) Name of the inventory configuration. Must be unique within the bucket.
Optional
destination(Block, Optional) Where the inventory report is written. May be the same bucket as the source. (see below for nested schema)enabled(Boolean) Whether the inventory configuration is enabled. Defaults totrue.filter(Block, Optional) Limits the inventory report to objects matching a prefix. (see below for nested schema)optional_fields(Set of String) List of optional fields to include in the inventory resultsschedule(Block, Optional) Schedule for generating the inventory report. (see below for nested schema)
Nested Schema for destination
Optional:
bucket(Block, Optional) Destination bucket for the report (may equal the source bucket). (see below for nested schema)
Nested Schema for destination.bucket
Required:
bucket_arn(String) ARN of the destination bucket.format(String) Output format:CSV,TSV,JSON,ORC, orParquet.
account_id(String) Account ID of the destination bucket owner.prefix(String) Prefix prepended to the report output path.
Nested Schema for filter
Optional:
prefix(String) Source-object prefix to filter on.
Nested Schema for schedule
Required:
frequency(String) How frequently the report is generated:DailyorWeekly.