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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


495
496
497
498
499
500
# File 'lib/aws-sdk-guardduty/types.rb', line 495

class BucketPolicy < Struct.new(
  :allows_public_read_access,
  :allows_public_write_access)
  SENSITIVE = []
  include Aws::Structure
end

#allows_public_write_accessBoolean

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

Returns:

  • (Boolean)


495
496
497
498
499
500
# File 'lib/aws-sdk-guardduty/types.rb', line 495

class BucketPolicy < Struct.new(
  :allows_public_read_access,
  :allows_public_write_access)
  SENSITIVE = []
  include Aws::Structure
end