cloudfront

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

README

go-aws-cloudfront

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidatePaths

func InvalidatePaths(ctx context.Context, cl *aws_cloudfront.Client, distribution_id string, uris ...string) (string, string, error)

InvalidatePaths will issue a "CreateInvalidation" request for 'uris' in 'distribution_id'. It will return the invalidation ID and caller reference associated with the request.

func NewClientWithURI

func NewClientWithURI(ctx context.Context, uri string) (*aws_cloudfront.Client, error)

NewClientWithURI will return a new `aws-sdk-go/service/cloudfront.CloudFront` instance derived from 'uri' which is expected to take the form of:

aws://?region={AWS_REGION}&credentials={CREDENTIALS}

Where '{CREDENTIALS}' is expected to be a valid `aaronland/go-aws-session` credentials string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL