S3¶
pip install kpireport-s3
The S3 plugin provides an output driver that can upload the final report contents to an S3 bucket. Each file in the report output structure is uploaded as a separate object. Each report is outputted with its report ID, which contains the report interval. Additionally, a special report with the “latest” designation is overridden with the last generated report.
Note
Currently only the HTML format is supported.
API¶
- class kpireport_s3.S3OutputDriver(report: kpireport.report.Report, **kwargs)¶
Bases:
kpireport_static.output.StaticOutputDriver
- bucket¶
the S3 bucket to upload to.
- Type
str
- prefix¶
the key prefix.
- Type
str
- kwargs¶
any additional keyword arguments are passed in to the
boto3.client
constructor.
Changelog¶
0.0.1¶
Prelude¶
Initial commit.
New Features¶
Initial commit.