Checks whether a resource policy can grant public access to the specified resource type.
See https://www.paws-r-sdk.com/docs/accessanalyzer_check_no_public_access/ for full documentation.
accessanalyzer_check_no_public_access(policyDocument, resourceType)
[required] The JSON policy document to evaluate for public access.
[required] The type of resource to evaluate for public access. For example, to
check for public access to Amazon S3 buckets, you can choose
AWS::S3::Bucket
for the resource type.
For resource types not supported as valid values, IAM Access Analyzer will return an error.