GuardDuty > Structures > BucketPolicy BucketPolicy¶ Structure Class¶ BucketPolicy dataclass ¶ Contains information on the current bucket policies for the S3 bucket. Attributes¶ allows_public_read_access class-attribute instance-attribute ¶ allows_public_read_access: bool | None = None A value that indicates whether public read access for the bucket is enabled through a bucket policy. allows_public_write_access class-attribute instance-attribute ¶ allows_public_write_access: bool | None = None A value that indicates whether public write access for the bucket is enabled through a bucket policy.