Class: Aws::AccessAnalyzer::Types::S3PublicAccessBlockConfiguration

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

Overview

The ‘PublicAccessBlock` configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses `false`. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses `true`. For more information, see [PublicAccessBlockConfiguration].

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-publicaccessblockconfiguration.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ignore_public_aclsBoolean

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.

Returns:

  • (Boolean)


3665
3666
3667
3668
3669
3670
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3665

class S3PublicAccessBlockConfiguration < Struct.new(
  :ignore_public_acls,
  :restrict_public_buckets)
  SENSITIVE = []
  include Aws::Structure
end

#restrict_public_bucketsBoolean

Specifies whether Amazon S3 should restrict public bucket policies for this bucket.

Returns:

  • (Boolean)


3665
3666
3667
3668
3669
3670
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3665

class S3PublicAccessBlockConfiguration < Struct.new(
  :ignore_public_acls,
  :restrict_public_buckets)
  SENSITIVE = []
  include Aws::Structure
end