C# Класс Amazon.IdentityManagement.Model.SimulateCustomPolicyRequest

Container for the parameters to the SimulateCustomPolicy operation. Simulate how a set of IAM policies and optionally a resource-based policy works with a list of API actions and AWS resources to determine the policies' effective permissions. The policies are provided as strings.

The simulation does not perform the API actions; it only checks the authorization to determine if the simulated policies allow or deny the actions.

If you want to simulate existing policies attached to an IAM user, group, or role, use SimulatePrincipalPolicy instead.

Context keys are variables maintained by AWS and its services that provide details about the context of an API query request. You can use the Condition element of an IAM policy to evaluate context keys. To get the list of context keys that the policies require for correct simulation, use GetContextKeysForCustomPolicy.

If the output is long, you can use MaxItems and Marker parameters to paginate the results.

Наследование: AmazonIdentityManagementServiceRequest
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
IsSetActionNames ( ) : bool
IsSetCallerArn ( ) : bool
IsSetContextEntries ( ) : bool
IsSetMarker ( ) : bool
IsSetMaxItems ( ) : bool
IsSetPolicyInputList ( ) : bool
IsSetResourceArns ( ) : bool
IsSetResourceHandlingOption ( ) : bool
IsSetResourceOwner ( ) : bool
IsSetResourcePolicy ( ) : bool