s3

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachPolicy

func AttachPolicy(bucket string, svc *s3.S3) error

func CreateBucket

func CreateBucket(bucket string, svc *s3.S3) error

func Delete

func Delete(bucket string, sess *session.Session) error

func Deploy

func Deploy(bucket string, sess *session.Session) error

Deploy to S3 bucket

func EnableStaticHosting

func EnableStaticHosting(bucket string, svc *s3.S3)

func GetPolicy

func GetPolicy(bucket string, svc *s3.S3) (bool, error)

func GetSession

func GetSession() *session.Session

GetSession returns Session for AWS.

func GetStaticSiteStatus

func GetStaticSiteStatus(bucket string, svc *s3.S3) (*s3.GetBucketWebsiteOutput, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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