AWS SDK for .NET Documentation
Policy Property
AmazonAmazon.SecurityToken.ModelAssumeRoleRequestPolicy Did this page help you?   Yes   No    Tell us about it...
Gets and sets the property Policy.

An IAM policy in JSON format.

The policy parameter is optional. If you pass a policy, the temporary security credentials that are returned by the operation have the permissions that are allowed by both the access policy of the role that is being assumed, and the policy that you pass. This gives you a way to further restrict the permissions for the resulting temporary security credentials. You cannot use the passed policy to grant permissions that are in excess of those allowed by the access policy of the role that is being assumed. For more information, see Permissions for AssumeRole in Using Temporary Security Credentials.

Declaration Syntax
C#
public string Policy { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)