An S3 Bucket is a storage container in Amazon Web Services used to store and organize objects such as files, backups, and data. It provides scalable, durable, and secure storage with features like versioning, lifecycle policies, and access controls. Buckets serve as the top-level namespace for S3 objects and can be configured for public or private access, encryption, and cross-region replication.

aws.s3_bucket

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
bucket_arncorestringThe Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services. This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
bucket_policy_statementcorejson
bucket_regioncorestringBucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.
bucket_versioningcorejson
bucket_websitecorejson
creation_datecoretimestampDate the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
grantscorejsonA list of grants.
inventory_configuration_listcorejsonThe list of inventory configurations for a bucket.
location_constraintcorestringSpecifies the Region where the bucket resides. For a list of all the Amazon S3 supported location constraints by Region, see Regions and Endpoints. Buckets in Region us-east-1 have a LocationConstraint of null. Buckets with a LocationConstraint of EU reside in eu-west-1.
logging_enabledcorejsonDescribes where logs are stored and the prefix that Amazon S3 assigns to all log object keys for a bucket. For more information, see PUT Bucket logging in the Amazon S3 API Reference.
namecorestringThe name of the bucket.
notification_configurationcorejson
ownercorejsonContainer for the bucket owner's display name and ID.
policycorestringThe bucket policy as a JSON document.
policy_statuscorejsonThe policy status for the specified bucket.
public_access_block_configurationcorejsonThe PublicAccessBlock configuration currently in effect for this Amazon S3 bucket.
replication_configurationcorejsonA container for replication rules. You can add up to 1,000 rules. The maximum size of a replication configuration is 2 MB.
rulescorejsonContainer for a lifecycle rule.
server_side_encryption_configurationcorejsonSpecifies the default server-side-encryption configuration.
tagscorehstore
transition_default_minimum_object_sizecorestringIndicates which default minimum object size behavior is applied to the lifecycle configuration. This parameter applies to general purpose buckets only. It isn't supported for directory bucket lifecycle configurations. all_storage_classes_128K - Objects smaller than 128 KB will not transition to any storage class by default. varies_by_storage_class - Objects smaller than 128 KB will transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By default, all other storage classes will prevent transitions smaller than 128 KB. To customize the minimum object size for any transition you can add a filter that specifies a custom ObjectSizeGreaterThan or ObjectSizeLessThan in the body of your transition rule. Custom filters always take precedence over the default transition behavior.