Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface ContextEntry

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.


  • ContextEntry


ContextKeyName?: string

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

ContextKeyType?: string

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

ContextKeyValues?: string[]

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.