Skip to content

v1.1.0 support scripted usage of this packge

Compare
Choose a tag to compare
@iambumblehead iambumblehead released this 04 Jan 21:55
· 4 commits to main since this release
1b316e3

v1.1.0 support scripted usage of this package, eg,

import invalidateCloudfrontId from 's3-invalidate-cloudfront-id';

const awsRes = await invaludateCloudfrontId({
  S3_INVALIDATE_CLOUDFRONT_REGION: '<region>',
  S3_INVALIDATE_CLOUDFRONT_ACCESS_KEY_ID: '<bucketid>',
  S3_INVALIDATE_CLOUDFRONT_SECRET_ACCESS_KEY: '<bucketsecret>',
  S3_INVALIDATE_CLOUDFRONT_ID: '<cloudfrontid>'
});