Class: Aws::AccessAnalyzer::Types::CheckNoPublicAccessRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-accessanalyzer/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:policy_document]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The JSON policy document to evaluate for public access.

Returns:

  • (String)


713
714
715
716
717
718
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 713

class CheckNoPublicAccessRequest < Struct.new(
  :policy_document,
  :resource_type)
  SENSITIVE = [:policy_document]
  include Aws::Structure
end

#resource_typeString

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.

Returns:

  • (String)


713
714
715
716
717
718
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 713

class CheckNoPublicAccessRequest < Struct.new(
  :policy_document,
  :resource_type)
  SENSITIVE = [:policy_document]
  include Aws::Structure
end