Class: Aws::BedrockAgentCoreControl::Types::IamPrincipal

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

Overview

An IAM principal specification for rule matching.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The Amazon Resource Name (ARN) of the IAM principal. Supports user, role, and assumed-role ARNs. Wildcards can be used with the StringLike operator.

Returns:

  • (String)


13037
13038
13039
13040
13041
13042
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13037

class IamPrincipal < Struct.new(
  :arn,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#operator ⇒ String

The match operator. StringEquals requires an exact match. StringLike supports wildcard patterns using * and ?.

Returns:

  • (String)


13037
13038
13039
13040
13041
13042
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 13037

class IamPrincipal < Struct.new(
  :arn,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end