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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/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)


771
772
773
774
775
776
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 771

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)


771
772
773
774
775
776
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 771

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