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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html

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:



3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3601

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.



3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3601

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)


3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3601

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.



3601
3602
3603
3604
3605
3606
3607
3608
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 3601

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