You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3Control::Types::PutPublicAccessBlockRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::PutPublicAccessBlockRequest
- Defined in:
- (unknown)
Overview
Note:
When passing PutPublicAccessBlockRequest as input to an Aws::Client method, you can use a vanilla 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 AWS account whose
PublicAccessBlock
configuration you want to set. -
#public_access_block_configuration ⇒ Types::PublicAccessBlockConfiguration
The
PublicAccessBlock
configuration that you want to apply to the specified AWS account.
Instance Attribute Details
#account_id ⇒ String
The account ID for the AWS account whose PublicAccessBlock
configuration you want to set.
#public_access_block_configuration ⇒ Types::PublicAccessBlockConfiguration
The PublicAccessBlock
configuration that you want to apply to the
specified AWS account.