Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::IAM::Types::ContextEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#context_key_nameString

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

Returns:

  • (String)

610
611
612
613
614
615
616
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 610

class ContextEntry < Struct.new(
  :context_key_name,
  :context_key_values,
  :context_key_type)
  SENSITIVE = []
  include Aws::Structure
end

#context_key_typeString

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

Returns:

  • (String)

610
611
612
613
614
615
616
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 610

class ContextEntry < Struct.new(
  :context_key_name,
  :context_key_values,
  :context_key_type)
  SENSITIVE = []
  include Aws::Structure
end

#context_key_valuesArray<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.

Returns:

  • (Array<String>)

610
611
612
613
614
615
616
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 610

class ContextEntry < Struct.new(
  :context_key_name,
  :context_key_values,
  :context_key_type)
  SENSITIVE = []
  include Aws::Structure
end