AgentArgs

data class AgentArgs(val actionGroups: Output<List<AgentActionGroupArgs>>? = null, val agentName: Output<String>? = null, val agentResourceRoleArn: Output<String>? = null, val autoPrepare: Output<Boolean>? = null, val customerEncryptionKeyArn: Output<String>? = null, val description: Output<String>? = null, val foundationModel: Output<String>? = null, val guardrailConfiguration: Output<AgentGuardrailConfigurationArgs>? = null, val idleSessionTtlInSeconds: Output<Double>? = null, val instruction: Output<String>? = null, val knowledgeBases: Output<List<AgentKnowledgeBaseArgs>>? = null, val promptOverrideConfiguration: Output<AgentPromptOverrideConfigurationArgs>? = null, val skipResourceInUseCheckOnDelete: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val testAliasTags: Output<Map<String, String>>? = null) : ConvertibleToJava<AgentArgs>

Definition of AWS::Bedrock::Agent Resource Type

Constructors

Link copied to clipboard
constructor(actionGroups: Output<List<AgentActionGroupArgs>>? = null, agentName: Output<String>? = null, agentResourceRoleArn: Output<String>? = null, autoPrepare: Output<Boolean>? = null, customerEncryptionKeyArn: Output<String>? = null, description: Output<String>? = null, foundationModel: Output<String>? = null, guardrailConfiguration: Output<AgentGuardrailConfigurationArgs>? = null, idleSessionTtlInSeconds: Output<Double>? = null, instruction: Output<String>? = null, knowledgeBases: Output<List<AgentKnowledgeBaseArgs>>? = null, promptOverrideConfiguration: Output<AgentPromptOverrideConfigurationArgs>? = null, skipResourceInUseCheckOnDelete: Output<Boolean>? = null, tags: Output<Map<String, String>>? = null, testAliasTags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val actionGroups: Output<List<AgentActionGroupArgs>>? = null

List of ActionGroups

Link copied to clipboard
val agentName: Output<String>? = null

Name for a resource.

Link copied to clipboard
val agentResourceRoleArn: Output<String>? = null

ARN of a IAM role.

Link copied to clipboard
val autoPrepare: Output<Boolean>? = null

Specifies whether to automatically prepare after creating or updating the agent.

Link copied to clipboard
val customerEncryptionKeyArn: Output<String>? = null

A KMS key ARN

Link copied to clipboard
val description: Output<String>? = null

Description of the Resource.

Link copied to clipboard
val foundationModel: Output<String>? = null

ARN or name of a Bedrock model.

Link copied to clipboard

Details about the guardrail associated with the agent.

Link copied to clipboard
val idleSessionTtlInSeconds: Output<Double>? = null

Max Session Time.

Link copied to clipboard
val instruction: Output<String>? = null

Instruction for the agent.

Link copied to clipboard

List of Agent Knowledge Bases

Link copied to clipboard

Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts .

Link copied to clipboard

Specifies whether to allow deleting agent while it is in use.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

Link copied to clipboard
val testAliasTags: Output<Map<String, String>>? = null

Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

Functions

Link copied to clipboard
open override fun toJava(): AgentArgs