GetPrincipalPolicySimulationResult class

Constructors

GetPrincipalPolicySimulationResult({required Input<String> actionName, required Input<bool> allowed, required Input<String> decision, required Input<Map<String, String>> decisionDetails, required Input<List<GetPrincipalPolicySimulationResultMatchedStatement>> matchedStatements, required Input<List<String>> missingContextKeys, required Input<String> resourceArn})
Creates a new GetPrincipalPolicySimulationResult. actionName The name of the single IAM action used for this particular request. allowed true if decision is "allowed", and false otherwise. decision The raw decision determined from all of the policies in scope; either "allowed", "explicitDeny", or "implicitDeny". decisionDetails A map of arbitrary metadata entries returned by the policy simulator for this request. matchedStatements A nested set of objects describing which policies contained statements that were relevant to this simulation request. Each object has attributes sourcePolicyId and sourcePolicyType to identify one of the policies. missingContextKeys A set of context keys (or condition keys) that were needed by some of the policies contributing to this result but not specified using a context block in the configuration. Missing or incorrect context keys will typically cause a simulated request to be disallowed. resourceArn ARN of the resource that was used for this particular request. When you specify multiple actions and multiple resource ARNs, that causes a separate policy request for each combination of unique action and resource.
const
GetPrincipalPolicySimulationResult.fromMap(Map<String, dynamic> map)
factory

Properties

actionName → Input<String>
The name of the single IAM action used for this particular request.
final
allowed → Input<bool>
true if decision is "allowed", and false otherwise.
final
decision → Input<String>
The raw decision determined from all of the policies in scope; either "allowed", "explicitDeny", or "implicitDeny".
final
decisionDetails → Input<Map<String, String>>
A map of arbitrary metadata entries returned by the policy simulator for this request.
final
hashCode → int
The hash code for this object.
no setterinherited
matchedStatements → Input<List<GetPrincipalPolicySimulationResultMatchedStatement>>
A nested set of objects describing which policies contained statements that were relevant to this simulation request. Each object has attributes sourcePolicyId and sourcePolicyType to identify one of the policies.
final
missingContextKeys → Input<List<String>>
A set of context keys (or condition keys) that were needed by some of the policies contributing to this result but not specified using a context block in the configuration. Missing or incorrect context keys will typically cause a simulated request to be disallowed.
final
resourceArn → Input<String>
ARN of the resource that was used for this particular request. When you specify multiple actions and multiple resource ARNs, that causes a separate policy request for each combination of unique action and resource.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited