Class: Aws::S3Control::Types::PutPublicAccessBlockRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3control/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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to set.

Returns:

  • (String)


5101
5102
5103
5104
5105
5106
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5101

class PutPublicAccessBlockRequest < Struct.new(
  :public_access_block_configuration,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end

#public_access_block_configurationTypes::PublicAccessBlockConfiguration

The PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services account.



5101
5102
5103
5104
5105
5106
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5101

class PutPublicAccessBlockRequest < Struct.new(
  :public_access_block_configuration,
  :account_id)
  SENSITIVE = []
  include Aws::Structure
end