AWS::Bedrock::Agent AgentActionGroup
Contains details about an action group.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ActionGroupExecutor" :
ActionGroupExecutor
, "ActionGroupName" :String
, "ActionGroupState" :String
, "ApiSchema" :APISchema
, "Description" :String
, "FunctionSchema" :FunctionSchema
, "ParentActionGroupSignature" :String
, "SkipResourceInUseCheckOnDelete" :Boolean
}
YAML
ActionGroupExecutor:
ActionGroupExecutor
ActionGroupName:String
ActionGroupState:String
ApiSchema:APISchema
Description:String
FunctionSchema:FunctionSchema
ParentActionGroupSignature:String
SkipResourceInUseCheckOnDelete:Boolean
Properties
ActionGroupExecutor
-
The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
Required: No
Type: ActionGroupExecutor
Update requires: No interruption
ActionGroupName
-
The name of the action group.
Required: Yes
Type: String
Pattern:
^([0-9a-zA-Z][_-]?){1,100}$
Update requires: No interruption
ActionGroupState
-
Specifies whether the action group is available for the agent to invoke or not when sending an InvokeAgent request.
Required: No
Type: String
Allowed values:
ENABLED | DISABLED
Update requires: No interruption
ApiSchema
-
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see Action group OpenAPI schemas.
Required: No
Type: APISchema
Update requires: No interruption
Description
-
The description of the action group.
Required: No
Type: String
Minimum:
1
Maximum:
200
Update requires: No interruption
FunctionSchema
-
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
Required: No
Type: FunctionSchema
Update requires: No interruption
ParentActionGroupSignature
-
If this field is set as
AMAZON.UserInput
, the agent can request the user for additional information when trying to complete a task. Thedescription
,apiSchema
, andactionGroupExecutor
fields must be blank for this action group.During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an Observation reprompting the user for more information.
Required: No
Type: String
Allowed values:
AMAZON.UserInput | AMAZON.CodeInterpreter
Update requires: No interruption
SkipResourceInUseCheckOnDelete
-
Specifies whether to delete the resource even if it's in use. By default, this value is
false
.Required: No
Type: Boolean
Update requires: No interruption