Class: Aws::AccessAnalyzer::Types::S3BucketConfiguration

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

Overview

Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Bucket Policy Examples.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_pointsHash<String,Types::S3AccessPointConfiguration>

The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.

Returns:



3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3306

class S3BucketConfiguration < Struct.new(
  :bucket_policy,
  :bucket_acl_grants,
  :bucket_public_access_block,
  :access_points)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_acl_grantsArray<Types::S3BucketAclGrantConfiguration>

The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.



3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3306

class S3BucketConfiguration < Struct.new(
  :bucket_policy,
  :bucket_acl_grants,
  :bucket_public_access_block,
  :access_points)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_policyString

The proposed bucket policy for the Amazon S3 bucket.

Returns:

  • (String)


3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3306

class S3BucketConfiguration < Struct.new(
  :bucket_policy,
  :bucket_acl_grants,
  :bucket_public_access_block,
  :access_points)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_public_access_blockTypes::S3PublicAccessBlockConfiguration

The proposed block public access configuration for the Amazon S3 bucket.



3306
3307
3308
3309
3310
3311
3312
3313
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3306

class S3BucketConfiguration < Struct.new(
  :bucket_policy,
  :bucket_acl_grants,
  :bucket_public_access_block,
  :access_points)
  SENSITIVE = []
  include Aws::Structure
end