Class: Aws::S3Control::Types::PutPublicAccessBlockRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::PutPublicAccessBlockRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3control/types.rb
Overview
Note:
When making an API call, you may pass PutPublicAccessBlockRequest data as a hash:
{
public_access_block_configuration: { # required
block_public_acls: false,
ignore_public_acls: false,
block_public_policy: false,
restrict_public_buckets: false,
},
account_id: "AccountId", # required
}
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to set.
-
#public_access_block_configuration ⇒ Types::PublicAccessBlockConfiguration
The Public Access Block configuration that you want to apply to this Amazon Web Services account.
Instance Attribute Details
#account_id ⇒ String
The Account ID for the Amazon Web Services account whose Public Access Block configuration you want to set.
198 199 200 201 202 |
# File 'lib/aws-sdk-s3control/types.rb', line 198 class PutPublicAccessBlockRequest < Struct.new( :public_access_block_configuration, :account_id) include Aws::Structure end |
#public_access_block_configuration ⇒ Types::PublicAccessBlockConfiguration
The Public Access Block configuration that you want to apply to this Amazon Web Services account.
198 199 200 201 202 |
# File 'lib/aws-sdk-s3control/types.rb', line 198 class PutPublicAccessBlockRequest < Struct.new( :public_access_block_configuration, :account_id) include Aws::Structure end |