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 result of the simulation of a single API action call on a single resource.

This data type is used by a member of the EvaluationResult data type.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.ResourceSpecificResult

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

Syntax

C#
public class ResourceSpecificResult

The ResourceSpecificResult type exposes the following members

Constructors

NameDescription
Public Method ResourceSpecificResult()

Properties

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

Gets and sets the property EvalDecisionDetails.

Additional details about the results of the evaluation decision. When there are both IAM policies and resource policies, this parameter explains how each set of policies contributes to the final evaluation decision. When simulating cross-account access to a resource, both the resource-based policy and the caller's IAM policy must grant access.

Public Property EvalResourceDecision Amazon.IdentityManagement.PolicyEvaluationDecisionType

Gets and sets the property EvalResourceDecision.

The result of the simulation of the simulated API action on the resource specified in EvalResourceName.

Public Property EvalResourceName System.String

Gets and sets the property EvalResourceName.

The name of the simulated resource, in Amazon Resource Name (ARN) format.

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 part of the simulation. Remember that even if multiple statements allow the action on the resource, if any statement denies that action, then the explicit deny overrides any allow, and 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 a list of ARNs is included in the ResourceArns parameter instead of "*". If you do not specify individual resources, by setting ResourceArns to "*" or by not including the ResourceArns parameter, then any missing context values are instead included under the EvaluationResults section. To discover the context keys used by a set of policies, you can call GetContextKeysForCustomPolicy or GetContextKeysForPrincipalPolicy.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone