s3

package
v1.36.20 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketDomainName

func BucketDomainName(bucket, region string) string

func DataSourceS3BucketObject

func DataSourceS3BucketObject() *schema.Resource

func ExpirationHash

func ExpirationHash(v interface{}) int

func IsContentTypeAllowed

func IsContentTypeAllowed(contentType *string) bool

This is to prevent potential issues w/ binary files and generally unprintable characters See https://github.com/hashicorp/terraform/pull/3858#issuecomment-156856738

func RemoveNil

func RemoveNil(data map[string]interface{}) map[string]interface{}

func ResourceS3Bucket

func ResourceS3Bucket() *schema.Resource

func ResourceS3BucketObject

func ResourceS3BucketObject() *schema.Resource

func ResourceS3BucketPolicy

func ResourceS3BucketPolicy() *schema.Resource

func ValidateS3BucketObjectAclType

func ValidateS3BucketObjectAclType(v interface{}, k string) (ws []string, errors []error)

func WebsiteDomainUrl

func WebsiteDomainUrl(region string) string

Types

type Website added in v1.23.7

type Website struct {
	Endpoint, Domain string
}

func WebsiteEndpoint

func WebsiteEndpoint(bucket string, region string) *Website

Jump to

Keyboard shortcuts

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