You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GuardDuty::Types::BucketPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information on the current bucket policies for the S3 bucket.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allows_public_read_accessBoolean

A value that indicates whether public read access for the bucket is enabled through a bucket policy.

Returns:

  • (Boolean)

    A value that indicates whether public read access for the bucket is enabled through a bucket policy.

#allows_public_write_accessBoolean

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

Returns:

  • (Boolean)

    A value that indicates whether public write access for the bucket is enabled through a bucket policy.