herschel666-arc-macros-custom-log-groups

0.2.0 • Public • Published

herschel666-arc-macros-custom-log-groups

Create log groups for @architect's Lambda functions with a custom RetentionInDays-value.

Installation

npm i herschel666-arc-macros-custom-log-groups

Usage

Add the herschel666-arc-macros-custom-log-groups to the list of macros in your .arc-file.

@app
some-app

@macros
herschel666-arc-macros-custom-log-groups

Customization

The default value for RetentionInDays is 14. To change this value, add the @herschel666-arc-macros-custom-log-groups-pragma to your .arc-file and set retentionInDays beneath it.

@app
some-app

@macros
herschel666-arc-macros-custom-log-groups

@herschel666-arc-macros-custom-log-groups
retentionInDays 28

License

MIT @ Emanuel Kluge

/herschel666-arc-macros-custom-log-groups/

    Package Sidebar

    Install

    npm i herschel666-arc-macros-custom-log-groups

    Weekly Downloads

    9

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    7.18 kB

    Total Files

    5

    Last publish

    Collaborators

    • herschel666