accessanalyzer_check_no_public_access: Checks whether a resource policy can grant public access to...

View source: R/accessanalyzer_operations.R

accessanalyzer_check_no_public_accessR Documentation

Checks whether a resource policy can grant public access to the specified resource type

Description

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.

Usage

accessanalyzer_check_no_public_access(policyDocument, resourceType)

Arguments

policyDocument

[required] The JSON policy document to evaluate for public access.

resourceType

[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.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.