SecurityConfig / CentralSecurityServicesConfig / S3PublicAccessBlockConfig

https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html | AWS S3 block public access configuration.

This will create the Public Access Block configuration for the AWS account.

If the PublicAccessBlock configurations are different between the bucket and the account, Amazon S3 will align with the most restrictive combination between the bucket-level and account-level settings.

s3PublicAccessBlock:
enable: true
excludeAccounts: []
interface IS3PublicAccessBlockConfig {
    enable: boolean;
    excludeAccounts?: string[];
}

Properties

enable: boolean

Indicates whether AWS S3 block public access is enabled.

excludeAccounts?: string[]

List of AWS Account names to be excluded from configuring S3 PublicAccessBlock