StaticcreateHelper method for creating a Glue table which can be used to query inventory data generated by an S3 Inventory config
The CDK scope in which the table will be created
The Glue catalog ID
Will be used to prefix the table name.
The Glue database in which the table will be created
The bucket where the inventory data is stored.
The set of bucket inventories for which the table will be created.
OptionallocationPrefix: stringThe S3 Prefix on the location bucket where the inventory is stored.
A Glue table which can be used to query S3 inventory data in an S3 bucket.
StaticcreateHelper method for creating an S3 inventory.
The bucket where S3 inventory data will be written
The S3 inventory ID
OptionalobjectsPrefix: stringThe object prefix from which inventory will be produced (on the bucket to which the inventory config is applied)
OptionaldestinationPrefix: stringThe object prefix under which inventory will be written on the destination bucket.
OptionaldestinationAccount: stringThe account which owns the destination bucket.
An S3 Inventory Config which can be applied to a bucket in order to produce periodic inventory data.
StaticcreateHelper method to generate an S3 Bucket Policy Statement allowing S3 service to write inventories to a bucket.
The bucket arn where inventory will be stored
The account which owns the source bucket from which inventory is being produced.
OptionalsourceBucketArn: stringThe bucket arn for which inventory data is being produced
OptionalinventoryPrefix: stringThe prefix on the destination bucket where inventory data will be stored.
A policy statement which permits the S3 service principal to write inventory for the source bucket/account to the destination bucket.
Helper class for creating S3 Inventories and associated Glue/Athena resources for querying these inventories.