generated from TrueCloudLab/basic
Marina Biryukova
04a79f57ef
All checks were successful
Tests and linters / Tests (1.20) (pull_request) Successful in 1m35s
DCO action / DCO (pull_request) Successful in 1m16s
Tests and linters / Tests (1.21) (pull_request) Successful in 1m32s
Tests and linters / Tests with -race (pull_request) Successful in 1m39s
Tests and linters / Staticcheck (pull_request) Successful in 1m51s
Tests and linters / Lint (pull_request) Successful in 2m32s
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
24 lines
766 B
Go
24 lines
766 B
Go
package s3
|
|
|
|
const (
|
|
PropertyKeyOwner = "Owner"
|
|
|
|
PropertyKeyDelimiter = "s3:delimiter"
|
|
PropertyKeyPrefix = "s3:prefix"
|
|
PropertyKeyVersionID = "s3:VersionId"
|
|
PropertyKeyMaxKeys = "s3:max-keys"
|
|
|
|
PropertyKeyFormatResourceTag = "aws:ResourceTag/%s"
|
|
PropertyKeyFormatRequestTag = "aws:RequestTag/%s"
|
|
|
|
PropertyKeyAccessBoxAttrMFA = "AccessBox-Attribute/IAM-MFA"
|
|
PropertyKeyFormatAccessBoxAttr = "AccessBox-Attribute/%s"
|
|
|
|
ResourceFormatS3All = "arn:aws:s3:::*"
|
|
ResourceFormatS3Bucket = "arn:aws:s3:::%s"
|
|
ResourceFormatS3BucketObjects = "arn:aws:s3:::%s/*"
|
|
ResourceFormatS3BucketObject = "arn:aws:s3:::%s/%s"
|
|
|
|
ResourceFormatIAMNamespaceUser = "arn:aws:iam::%s:user/%s"
|
|
ResourceFormatIAMNamespaceGroup = "arn:aws:iam::%s:group/%s"
|
|
)
|