Categorygithub.com/aaronland/go-aws-cloudfront
repositorypackage
0.0.4
Repository: https://github.com/aaronland/go-aws-cloudfront.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

go-aws-cloudfront

Go package providing opinionated tools and methods for working with the aws-sdk-go/service/cloudfront package.

Documentation

Go Reference

Tools

$> make cli
go build -mod vendor -o bin/invalidate cmd/invalidate/main.go

invalidate

Invalidate one or more URIs from a CloudFront distribution.

$> ./bin/invalidate -h
Invalidate one or more URIs from a CloudFront distribution.
Usage:
	 ./bin/invalidate uri(N) uri(N)
  -client-uri string
    	A valid client URI in the form of 'aws://?region={AWS_REGION}&credentials={CREDENTIALS}' where '{CREDENTIAL}' is expected to be a valid aaronland/go-aws-session credential string.
  -distribution-id string
    	A valid AWS CloudFront distribution ID.

See also