(aws-s3): Wrong type stated as the default for Bucket's blockPublicAccess prop #12978
Labels
@aws-cdk/aws-s3
Related to Amazon S3
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.Bucket.html#blockpublicaccess
In the above section of the docs, the default for
Bucket
's constructor prop ofblockPublicAccess
is stated asfalse
, but the type of theblockPublicAccess
prop isBlockPublicAccess
, notboolean
.I am not able to compile, for example:
I get the error:
I don't see an assignment to
blockPublicAccess
prior to where we pass it on to the CfnBucket, so maybe instead of@default false
here we needdefault undefined
?This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: