AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains the results of a simulation.

This data type is used by the return parameter of SimulateCustomPolicy and SimulatePrincipalPolicy.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.EvaluationResult

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class EvaluationResult

The EvaluationResult type exposes the following members

Constructors

NameDescription
Public Method EvaluationResult()

Properties

NameTypeDescription
Public Property EvalActionName System.String

Gets and sets the property EvalActionName.

The name of the API operation tested on the indicated resource.

Public Property EvalDecision Amazon.IdentityManagement.PolicyEvaluationDecisionType

Gets and sets the property EvalDecision.

The result of the simulation.

Public Property EvalDecisionDetails System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property EvalDecisionDetails.

Additional details about the results of the cross-account evaluation decision. This parameter is populated for only cross-account simulations. It contains a brief summary of how each policy type contributes to the final evaluation decision.

If the simulation evaluates policies within the same account and includes a resource ARN, then the parameter is present but the response is empty. If the simulation evaluates policies within the same account and specifies all resources (*), then the parameter is not returned.

When you make a cross-account request, Amazon Web Services evaluates the request in the trusting account and the trusted account. The request is allowed only if both evaluations return true. For more information about how policies are evaluated, see Evaluating policies within a single account.

If an Organizations SCP included in the evaluation denies access, the simulation ends. In this case, policy evaluation does not proceed any further and this parameter is not returned.

Public Property EvalResourceName System.String

Gets and sets the property EvalResourceName.

The ARN of the resource that the indicated API operation was tested on.

Public Property MatchedStatements System.Collections.Generic.List<Amazon.IdentityManagement.Model.Statement>

Gets and sets the property MatchedStatements.

A list of the statements in the input policies that determine the result for this scenario. Remember that even if multiple statements allow the operation on the resource, if only one statement denies that operation, then the explicit deny overrides any allow. In addition, the deny statement is the only entry included in the result.

Public Property MissingContextValues System.Collections.Generic.List<System.String>

Gets and sets the property MissingContextValues.

A list of context keys that are required by the included input policies but that were not provided by one of the input parameters. This list is used when the resource in a simulation is "*", either explicitly, or when the ResourceArns parameter blank. If you include a list of resources, then any missing context values are instead included under the ResourceSpecificResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy.

Public Property OrganizationsDecisionDetail Amazon.IdentityManagement.Model.OrganizationsDecisionDetail

Gets and sets the property OrganizationsDecisionDetail.

A structure that details how Organizations and its service control policies affect the results of the simulation. Only applies if the simulated user's account is part of an organization.

Public Property PermissionsBoundaryDecisionDetail Amazon.IdentityManagement.Model.PermissionsBoundaryDecisionDetail

Gets and sets the property PermissionsBoundaryDecisionDetail.

Contains information about the effect that a permissions boundary has on a policy simulation when the boundary is applied to an IAM entity.

Public Property ResourceSpecificResults System.Collections.Generic.List<Amazon.IdentityManagement.Model.ResourceSpecificResult>

Gets and sets the property ResourceSpecificResults.

The individual results of the simulation of the API operation specified in EvalActionName on each resource.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5