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
show all
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

Instance Attribute Details

#account_idString

The account ID for the AWS account whose PublicAccessBlock configuration you want to set.

Returns:

  • (String)

    The account ID for the AWS account whose PublicAccessBlock configuration you want to set.

#public_access_block_configurationTypes::PublicAccessBlockConfiguration

The PublicAccessBlock configuration that you want to apply to the specified AWS account.

Returns: