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

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

Overview

Note:

When making an API call, you may pass S3PublicAccessBlockConfiguration data as a hash:

{
  ignore_public_acls: false, # required
  restrict_public_buckets: false, # required
}

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.

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)


2851
2852
2853
2854
2855
2856
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2851

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)


2851
2852
2853
2854
2855
2856
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 2851

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