ContextEntry - AWS Identity and Access Management

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.

Contents

ContextKeyName

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

ContextKeyType

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

ContextKeyValues.member.N

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 AWS SDKs, see the following: