Class: Aws::DevOpsAgent::Types::ApprovalPattern
- Inherits:
-
Struct
- Object
- Struct
- Aws::DevOpsAgent::Types::ApprovalPattern
- Defined in:
- gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb
Overview
Tool-invocation pattern primitive used to express both an agent-requested approval and a finalized approval. The primitive is uniform across AWS and third-party tools: a tool identifier plus a map of argument pins that narrow which invocations the pattern matches.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#argument_pins ⇒ Hash<String,String>
Argument constraints that narrow which tool invocations the pattern matches.
-
#tool ⇒ String
Identifier of the tool the pattern applies to (e.g.
use\_awsfor AWS actions, or a third-party tool name).
Instance Attribute Details
#argument_pins ⇒ Hash<String,String>
Argument constraints that narrow which tool invocations the pattern
matches. For AWS tools, the map must include operation (the IAM
action, e.g. ec2:AuthorizeSecurityGroupIngress) and
resource\_arn (the resource ARN or ARN glob); additional
narrowing arguments go in further pin keys. The same \{tool,
argumentPins} shape is used uniformly for AWS and third-party
tools, with tool-specific keys for third-party tools. Requests whose
argument pins are collectively too large are rejected with a
ValidationException.
322 323 324 325 326 327 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 322 class ApprovalPattern < Struct.new( :tool, :argument_pins) SENSITIVE = [] include Aws::Structure end |
#tool ⇒ String
Identifier of the tool the pattern applies to (e.g. use\_aws for
AWS actions, or a third-party tool name).
322 323 324 325 326 327 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 322 class ApprovalPattern < Struct.new( :tool, :argument_pins) SENSITIVE = [] include Aws::Structure end |