AwsS3BucketPublicAccessBlockArgs

interface AwsS3BucketPublicAccessBlockArgs { blockPublicAcls: Input<boolean>; blockPublicPolicy: Input<boolean>; ignorePublicAcls: Input<boolean>; restrictPublicBuckets: Input<boolean>; }

Public access block settings for the bucket.

Example

CODE
const publicAccessBlock: AwsS3BucketPublicAccessBlockArgs = {
  blockPublicAcls: true,
  blockPublicPolicy: true,
  ignorePublicAcls: true,
  restrictPublicBuckets: true,
};

Properties

blockPublicAcls: Input<boolean>

Whether public ACLs are blocked.

blockPublicPolicy: Input<boolean>

Whether public bucket policies are blocked.

ignorePublicAcls: Input<boolean>

Whether public ACLs are ignored.

restrictPublicBuckets: Input<boolean>

Whether public bucket restrictions are enforced.