Class: Aws::IAMToolbox::Types::Check
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAMToolbox::Types::Check
- Defined in:
- gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb
Overview
Represents one authorization requirement considered during an evaluation and its result.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#check_type ⇒ String
The type of requirement that the check evaluates.
-
#evaluated_effect ⇒ String
The result of evaluating this requirement.
-
#matched_policies ⇒ Array<Types::MatchedPolicy>
Policies in this list have statements that matched for this check.
-
#relevant_policy_types ⇒ Array<String>
The policy types used to satisfy this check, plus the type of every policy with a statement that matched in it.
-
#target_arn ⇒ String
The ARN that distinguishes this check from other checks of the same type.
Instance Attribute Details
#check_type ⇒ String
The type of requirement that the check evaluates. Valid values:
SERVICE_CONTROL_POLICY- The service control policies (SCPs) attached to one organization target, such as a root, organizational unit, or account, that apply to the principal.RESOURCE_CONTROL_POLICY- The resource control policies (RCPs) attached to one organization target that apply to the resource.VPC_ENDPOINT- The VPC endpoint policy for the endpoint through which the request passes.RESOURCE- The resource owner's resource-based policies, when the owner must allow the request separately, such as a cross-account request or a request to an AWS KMS key.PRINCIPAL- The principal's identity-based policies attached to the IAM user or role.PERMISSIONS_BOUNDARY- The permissions boundary on the IAM user or role.SESSION- The role session that made the request, decided by its session policies.
119 120 121 122 123 124 125 126 127 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 119 class Check < Struct.new( :check_type, :evaluated_effect, :target_arn, :relevant_policy_types, :matched_policies) SENSITIVE = [] include Aws::Structure end |
#evaluated_effect ⇒ String
The result of evaluating this requirement. Valid values:
ALLOW- A statement that applies to this check allows the request.EXPLICIT_DENY- A deny statement that applies to this check matches.IMPLICIT_DENY- The check required an allow and nothing that applies to it allows the request.NO_IMPACT- No statement in this check matched, and no allow was needed because another path allowed the request.
119 120 121 122 123 124 125 126 127 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 119 class Check < Struct.new( :check_type, :evaluated_effect, :target_arn, :relevant_policy_types, :matched_policies) SENSITIVE = [] include Aws::Structure end |
#matched_policies ⇒ Array<Types::MatchedPolicy>
Policies in this list have statements that matched for this check.
Each URI corresponds to an entry in the top-level policies list.
Only policies in the top-level list are included. The check effect
can reflect a matched policy omitted from this list, so this list
can be empty even when the effect is ALLOW.
119 120 121 122 123 124 125 126 127 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 119 class Check < Struct.new( :check_type, :evaluated_effect, :target_arn, :relevant_policy_types, :matched_policies) SENSITIVE = [] include Aws::Structure end |
#relevant_policy_types ⇒ Array<String>
The policy types used to satisfy this check, plus the type of every
policy with a statement that matched in it. matchedPolicies lists
matching policies in the top-level policies list.
119 120 121 122 123 124 125 126 127 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 119 class Check < Struct.new( :check_type, :evaluated_effect, :target_arn, :relevant_policy_types, :matched_policies) SENSITIVE = [] include Aws::Structure end |
#target_arn ⇒ String
The ARN that distinguishes this check from other checks of the same type. This value is absent when the check type alone identifies the check. For SCP and RCP checks, this is the AWS Organizations ARN of the root, organizational unit, or account that the evaluated policies are attached to.
119 120 121 122 123 124 125 126 127 |
# File 'gems/aws-sdk-iamtoolbox/lib/aws-sdk-iamtoolbox/types.rb', line 119 class Check < Struct.new( :check_type, :evaluated_effect, :target_arn, :relevant_policy_types, :matched_policies) SENSITIVE = [] include Aws::Structure end |