BlockPublicAccess

class aws_cdk.aws_s3.BlockPublicAccess(*, block_public_acls=None, block_public_policy=None, ignore_public_acls=None, restrict_public_buckets=None)

Bases: object

Parameters
  • block_public_acls (Optional[bool]) – Whether to block public ACLs.

  • block_public_policy (Optional[bool]) – Whether to block public policy.

  • ignore_public_acls (Optional[bool]) – Whether to ignore public ACLs.

  • restrict_public_buckets (Optional[bool]) – Whether to restrict public access.

Attributes

BLOCK_ACLS = <aws_cdk.aws_s3.BlockPublicAccess object>
BLOCK_ALL = <aws_cdk.aws_s3.BlockPublicAccess object>
block_public_acls
Return type

Optional[bool]

block_public_policy
Return type

Optional[bool]

ignore_public_acls
Return type

Optional[bool]

restrict_public_buckets
Return type

Optional[bool]