JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 527
  • Score
    100M100P100Q113798F
  • License Apache-2.0

Official `aws-lite` plugin for CloudFront

Package Exports

  • @aws-lite/cloudfront
  • @aws-lite/cloudfront/src/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aws-lite/cloudfront) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@aws-lite/cloudfront

Official aws-lite plugin for CloudFront

Maintained by: @architect

Install

npm i @aws-lite/cloudfront

Optionally install types:

npm i -D @aws-lite/cloudfront-types

Reference

Reference documentation with examples at aws-lite.org

Reference

Reference documentation with examples at aws-lite.org

Methods

CreateDistribution

Canonical AWS API doc

Properties:

  • DistributionConfig (object) [required]

CreateInvalidation

Canonical AWS API doc

Properties:

  • Id (string) [required]
    • Distribution ID
  • InvalidationBatch (string, array)
  • CallerReference (string) [required]
    • Unique value that ensures that the request cannot be replayed

DeleteDistribution

Canonical AWS API doc

Properties:

  • Id (string) [required]
    • Distribution ID
  • IfMatch (string)
    • Value of previous GetDistribution call's ETag property

GetDistribution

Canonical AWS API doc

Properties:

  • Id (string) [required]
    • Distribution ID

GetDistributionConfig

Canonical AWS API doc

Properties:

  • Id (string) [required]
    • Distribution ID

ListDistributions

Canonical AWS API doc

Properties:

  • Marker (string)
    • Pagination cursor token to be used if NextMarker was returned in a previous response
  • MaxItems (number)
    • Maximum number of items to return
  • paginate (boolean)
    • Enable automatic result pagination; use this instead of making your own individual pagination requests

UpdateDistribution

Canonical AWS API doc

Properties:

  • DistributionConfig (object) [required]
  • Id (string) [required]
    • Distribution ID
  • IfMatch (string) [required]
    • Value of previous GetDistribution call's ETag property

Methods yet to be implemented

Please help out by opening a PR!

Learn more