Skip to main content


Supported Platform

  • aws


AWS S3 Bucket

The aws.s3.bucket resource provides fields for assessing the configuration of AWS S3 buckets. For usage see the aws.s3 resource documentation.


arnstringarn of the bucket
namestringname of the bucket
policyaws.s3.bucket.policypolicy associated with the bucket
tagsmap[string]stringtags for the bucket
acl[]aws.s3.bucket.grantlist of access control grants associated with the bucket
ownermap[string]stringowner for the bucket
publicbooldenotes if bucket is public
cors[]aws.s3.bucket.corsrulelist of cors information for the bucket
locationstringlocation of the bucket
versioningmap[string]stringversioning state and mfa delete status of bucket
loggingmap[string]stringlogging status and user perms for bucket logging status
staticWebsiteHostingmap[string]stringwebsite configuration for a bucket
defaultLockstringdenotes whether bucket is locked by default
replicationdictbucket cross-region replication configuration
encryptiondictbucket encryption configuration
publicAccessBlockdictpublic access block configuration for the bucket
existsboolfalse if the bucket no longer exists (stale reference)