github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/chat/s3/regions.go (about)

     1  package s3
     2  
     3  type Region struct {
     4  	Name                 string // the canonical name of this region.
     5  	S3Endpoint           string
     6  	S3BucketEndpoint     string
     7  	S3LocationConstraint bool // true if this region requires a LocationConstraint declaration.
     8  	S3LowercaseBucket    bool // true if the region requires bucket names to be lower case.
     9  }
    10  
    11  var USEastAccelerated = Region{
    12  	Name:             "us-east-1",
    13  	S3Endpoint:       "https://s3.amazonaws.com",
    14  	S3BucketEndpoint: "https://${bucket}.s3-accelerate.amazonaws.com",
    15  }