Class: Aws::BedrockAgentCoreControl::Types::Condition

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

Overview

Note:

Condition is a union - when making an API calls you must set exactly one of the members.

Note:

Condition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Condition corresponding to the set member.

A condition that determines when a gateway rule applies. Conditions can match on principals or request paths.

Defined Under Namespace

Classes: MatchPaths, MatchPrincipals, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#match_paths ⇒ Types::MatchPaths

A condition that matches on the request path.

Returns:



1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1701

class Condition < Struct.new(
  :match_principals,
  :match_paths,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MatchPrincipals < Condition; end
  class MatchPaths < Condition; end
  class Unknown < Condition; end
end

#match_principals ⇒ Types::MatchPrincipals

A condition that matches on the identity of the caller making the request.



1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1701

class Condition < Struct.new(
  :match_principals,
  :match_paths,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class MatchPrincipals < Condition; end
  class MatchPaths < Condition; end
  class Unknown < Condition; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1701
1702
1703
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1701

def unknown
  @unknown
end