ContextEntry - Amazon Identity and Access Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies.

This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.



The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

Type: String

Length Constraints: Minimum length of 5. Maximum length of 256.

Required: No


The data type of the value (or values) specified in the ContextKeyValues parameter.

Type: String

Valid Values: string | stringList | numeric | numericList | boolean | booleanList | ip | ipList | binary | binaryList | date | dateList

Required: No


The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: