AWS SDK for .NET Documentation
Policy Property
AmazonAmazon.SecurityToken.ModelAssumeRoleWithSAMLRequestPolicy 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 AssumeRoleWithSAML in Using Temporary Security Credentials.

Note:
The policy must be 2048 bytes or shorter, and its packed size must be less than 450 bytes.
Declaration Syntax
C#
public string Policy { get; set; }

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