GetPrincipalPolicySimulationArgs class

Arguments for getPrincipalPolicySimulation. Arguments for getPrincipalPolicySimulation.

Constructors

GetPrincipalPolicySimulationArgs({required Input<List<String>> actionNames, Input<List<String>?>? additionalPoliciesJsons, Input<String?>? callerArn, Input<List<GetPrincipalPolicySimulationContext>?>? contexts, Input<List<String>?>? permissionsBoundaryPoliciesJsons, required Input<String> policySourceArn, Input<List<String>?>? resourceArns, Input<String?>? resourceHandlingOption, Input<String?>? resourceOwnerAccountId, Input<String?>? resourcePolicyJson})
Creates a new GetPrincipalPolicySimulationArgs. actionNames A set of IAM action names to run simulations for. Each entry in this set adds an additional hypothetical request to the simulation. additionalPoliciesJsons A set of additional principal policy documents to include in the simulation. The simulator will behave as if each of these policies were associated with the object specified in policySourceArn, allowing you to test the effect of hypothetical policies not yet created. callerArn The ARN of an user that will appear as the "caller" of the simulated requests. If you do not specify callerArn then the simulation will use the policySourceArn instead, if it contains a user ARN. contexts Each context block defines an entry in the table of additional context keys in the simulated request. permissionsBoundaryPoliciesJsons A set of permissions boundary policy documents to include in the simulation. policySourceArn The ARN of the IAM user, group, or role whose policies will be included in the simulation. resourceArns A set of ARNs of resources to include in the simulation. resourceHandlingOption Specifies a special simulation type to run. Some EC2 actions require special simulation behaviors and a particular set of resource ARNs to achieve a realistic result. resourceOwnerAccountId An AWS account ID to use for any resource ARN in resourceArns that doesn't include its own AWS account ID. If unspecified, the simulator will use the account ID from the callerArn argument as a placeholder. resourcePolicyJson An IAM policy document representing the resource-level policy of all of the resources specified in resourceArns.
const
GetPrincipalPolicySimulationArgs.fromMap(Map<String, dynamic> map)
factory

Properties

actionNames → Input<List<String>>
A set of IAM action names to run simulations for. Each entry in this set adds an additional hypothetical request to the simulation.
final
additionalPoliciesJsons → Input<List<String>?>?
A set of additional principal policy documents to include in the simulation. The simulator will behave as if each of these policies were associated with the object specified in policySourceArn, allowing you to test the effect of hypothetical policies not yet created.
final
callerArn → Input<String?>?
The ARN of an user that will appear as the "caller" of the simulated requests. If you do not specify callerArn then the simulation will use the policySourceArn instead, if it contains a user ARN.
final
contexts → Input<List<GetPrincipalPolicySimulationContext>?>?
Each context block defines an entry in the table of additional context keys in the simulated request.
final
hashCode → int
The hash code for this object.
no setterinherited
permissionsBoundaryPoliciesJsons → Input<List<String>?>?
A set of permissions boundary policy documents to include in the simulation.
final
policySourceArn → Input<String>
The ARN of the IAM user, group, or role whose policies will be included in the simulation.
final
resourceArns → Input<List<String>?>?
A set of ARNs of resources to include in the simulation.
final
resourceHandlingOption → Input<String?>?
Specifies a special simulation type to run. Some EC2 actions require special simulation behaviors and a particular set of resource ARNs to achieve a realistic result.
final
resourceOwnerAccountId → Input<String?>?
An AWS account ID to use for any resource ARN in resourceArns that doesn't include its own AWS account ID. If unspecified, the simulator will use the account ID from the callerArn argument as a placeholder.
final
resourcePolicyJson → Input<String?>?
An IAM policy document representing the resource-level policy of all of the resources specified in resourceArns.
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