Class: Aws::AccessAnalyzer::Types::CheckAccessNotGrantedRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::CheckAccessNotGrantedRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-accessanalyzer/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:policy_document]
Instance Attribute Summary collapse
-
#access ⇒ Array<Types::Access>
An access object containing the permissions that shouldn’t be granted by the specified policy.
-
#policy_document ⇒ String
The JSON policy document to use as the content for the policy.
-
#policy_type ⇒ String
The type of policy.
Instance Attribute Details
#access ⇒ Array<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 of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources.
608 609 610 611 612 613 614 |
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 608 class CheckAccessNotGrantedRequest < Struct.new( :policy_document, :access, :policy_type) SENSITIVE = [:policy_document] include Aws::Structure end |
#policy_document ⇒ String
The JSON policy document to use as the content for the policy.
608 609 610 611 612 613 614 |
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 608 class CheckAccessNotGrantedRequest < Struct.new( :policy_document, :access, :policy_type) SENSITIVE = [:policy_document] include Aws::Structure end |
#policy_type ⇒ String
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. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
608 609 610 611 612 613 614 |
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 608 class CheckAccessNotGrantedRequest < Struct.new( :policy_document, :access, :policy_type) SENSITIVE = [:policy_document] include Aws::Structure end |