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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-guardduty/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)


585
586
587
588
589
590
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 585

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)


585
586
587
588
589
590
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 585

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