Class: Aws::AccessAnalyzer::Types::CheckAccessNotGrantedRequest

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

#accessArray<Types::Access>

An access object containing the permissions that shouldn’t be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources.

Returns:



666
667
668
669
670
671
672
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckAccessNotGrantedRequest < Struct.new(
  :policy_document,
  :access,
  :policy_type)
  SENSITIVE = [:policy_document]
  include Aws::Structure
end

#policy_documentString

The JSON policy document to use as the content for the policy.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckAccessNotGrantedRequest < Struct.new(
  :policy_document,
  :access,
  :policy_type)
  SENSITIVE = [:policy_document]
  include Aws::Structure
end

#policy_typeString

The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.

Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets.

Returns:

  • (String)


666
667
668
669
670
671
672
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 666

class CheckAccessNotGrantedRequest < Struct.new(
  :policy_document,
  :access,
  :policy_type)
  SENSITIVE = [:policy_document]
  include Aws::Structure
end