AWS::Bedrock::AgentDefinition of AWS::Bedrock::Agent Resource Type
20 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AgentName | string | Required |
ActionGroups | Array<AgentActionGroup> | |
AgentCollaboration | string | |
AgentCollaborators | Array<AgentCollaborator> | |
AgentResourceRoleArn | string | |
AutoPrepare | boolean | Write-only |
CustomerEncryptionKeyArn | string | |
CustomOrchestration | CustomOrchestration | |
Description | string | |
FoundationModel | string | |
GuardrailConfiguration | GuardrailConfiguration | |
IdleSessionTTLInSeconds | number | |
Instruction | string | |
KnowledgeBases | Array<AgentKnowledgeBase> | |
MemoryConfiguration | MemoryConfiguration | |
OrchestrationType | string | |
PromptOverrideConfiguration | PromptOverrideConfiguration | |
SkipResourceInUseCheckOnDelete | boolean | Write-only |
Tags | TagsMap | |
TestAliasTags | TagsMap |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AgentArn | string | Arn representation of the Agent. |
AgentId | string | Identifier for a resource. |
AgentStatus | string | - |
AgentVersion | string | Draft Agent Version. |
CreatedAt | string | Time Stamp. |
FailureReasons | Array<string> | Failure Reasons for Error. |
PreparedAt | string | Time Stamp. |
RecommendedActions | Array<string> | The recommended actions users can take to resolve an error in failureReasons. |
UpdatedAt | string | Time Stamp. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Bedrock::Agent
Resources:
MyResource:
Type: AWS::Bedrock::Agent
Properties:
AgentName: "my-agentname"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
bedrock:CreateAgentbedrock:GetAgentbedrock:PrepareAgentbedrock:GetAgentKnowledgeBasebedrock:AssociateAgentKnowledgeBasebedrock:ListAgentKnowledgeBasesbedrock:CreateAgentActionGroupbedrock:GetAgentActionGroupbedrock:GetAgentbedrock:GetAgentActionGroupbedrock:ListAgentActionGroupsbedrock:GetAgentKnowledgeBasebedrock:ListAgentKnowledgeBasesbedrock:ListTagsForResourcebedrock:GetGuardrailbedrock:GetAgentCollaboratorbedrock:GetAgentbedrock:UpdateAgentbedrock:PrepareAgentbedrock:GetAgentKnowledgeBasebedrock:UpdateAgentKnowledgeBasebedrock:AssociateAgentKnowledgeBasebedrock:DisassociateAgentKnowledgeBasebedrock:ListAgentKnowledgeBasesbedrock:GetAgentbedrock:DeleteAgentbedrock:DeleteGuardrailbedrock:GetGuardrailkms:Decryptkms:Encryptkms:GenerateDataKeybedrock:ListAgentsbedrock:ListGuardrailsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAgentId