GetPrincipalPolicySimulationArgs class
Arguments for getPrincipalPolicySimulation. Arguments for getPrincipalPolicySimulation.
Constructors
-
GetPrincipalPolicySimulationArgs({required Input<
List< actionNames, Input<String> >List< ? additionalPoliciesJsons, Input<String> ?>String?> ? callerArn, Input<List< ? contexts, Input<GetPrincipalPolicySimulationContext> ?>List< ? permissionsBoundaryPoliciesJsons, required Input<String> ?>String> policySourceArn, Input<List< ? resourceArns, Input<String> ?>String?> ? resourceHandlingOption, Input<String?> ? resourceOwnerAccountId, Input<String?> ? resourcePolicyJson}) -
Creates a new GetPrincipalPolicySimulationArgs.
actionNamesA set of IAM action names to run simulations for. Each entry in this set adds an additional hypothetical request to the simulation.additionalPoliciesJsonsA 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 inpolicySourceArn, allowing you to test the effect of hypothetical policies not yet created.callerArnThe ARN of an user that will appear as the "caller" of the simulated requests. If you do not specifycallerArnthen the simulation will use thepolicySourceArninstead, if it contains a user ARN.contextsEachcontextblock defines an entry in the table of additional context keys in the simulated request.permissionsBoundaryPoliciesJsonsA set of permissions boundary policy documents to include in the simulation.policySourceArnThe ARN of the IAM user, group, or role whose policies will be included in the simulation.resourceArnsA set of ARNs of resources to include in the simulation.resourceHandlingOptionSpecifies 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.resourceOwnerAccountIdAn AWS account ID to use for any resource ARN inresourceArnsthat doesn't include its own AWS account ID. If unspecified, the simulator will use the account ID from thecallerArnargument as a placeholder.resourcePolicyJsonAn IAM policy document representing the resource-level policy of all of the resources specified inresourceArns.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
callerArnthen the simulation will use thepolicySourceArninstead, if it contains a user ARN.final -
contexts
→ Input<
List< ?GetPrincipalPolicySimulationContext> ?> -
Each
contextblock 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
resourceArnsthat doesn't include its own AWS account ID. If unspecified, the simulator will use the account ID from thecallerArnargument 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