Class: Aws::BedrockAgentCoreControl::Types::Condition
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::Condition
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
Condition is a union - when making an API calls you must set exactly one of the members.
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
-
#match_paths ⇒ Types::MatchPaths
A condition that matches on the request path.
-
#match_principals ⇒ Types::MatchPrincipals
A condition that matches on the identity of the caller making the request.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#match_paths ⇒ Types::MatchPaths
A condition that matches on the request path.
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1736 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.
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1736 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
1736 1737 1738 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1736 def unknown @unknown end |