AgentAgentArgs constructor

const AgentAgentArgs({
  1. Input<String?>? agentCollaboration,
  2. required Input<String> agentName,
  3. required Input<String> agentResourceRoleArn,
  4. Input<String?>? customerEncryptionKeyArn,
  5. Input<String?>? description,
  6. required Input<String> foundationModel,
  7. Input<List<AgentAgentGuardrailConfiguration>?>? guardrailConfigurations,
  8. Input<int?>? idleSessionTtlInSeconds,
  9. Input<String?>? instruction,
  10. Input<List<AgentAgentMemoryConfiguration>?>? memoryConfigurations,
  11. Input<bool?>? prepareAgent,
  12. Input<List<AgentAgentPromptOverrideConfiguration>?>? promptOverrideConfigurations,
  13. Input<String?>? region,
  14. Input<bool?>? skipResourceInUseCheck,
  15. Input<Map<String, String>?>? tags,
  16. Input<AgentAgentTimeouts?>? timeouts,
})

Creates a new AgentAgentArgs. agentCollaboration Agents collaboration role. Valid values: SUPERVISOR, SUPERVISOR_ROUTER, DISABLED. agentName Name of the agent. agentResourceRoleArn ARN of the IAM role with permissions to invoke API operations on the agent. customerEncryptionKeyArn ARN of the AWS KMS key that encrypts the agent. description Description of the agent. foundationModel Foundation model used for orchestration by the agent. guardrailConfigurations Details about the guardrail associated with the agent. See guardrailConfiguration Block for details. idleSessionTtlInSeconds Number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout. instruction Instructions that tell the agent what it should do and how it should interact with users. If prepareAgent is true this argument is required. The valid range is 40 - 20000 characters. memoryConfigurations Configurations for the agent's ability to retain the conversational context. prepareAgent Whether to prepare the agent after creation or modification. Defaults to true. promptOverrideConfigurations Configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts. See promptOverrideConfiguration Block for details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. skipResourceInUseCheck Whether the in-use check is skipped when deleting the agent. tags Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. timeouts Optional.

Implementation

const AgentAgentArgs({
  this.agentCollaboration,
  required this.agentName,
  required this.agentResourceRoleArn,
  this.customerEncryptionKeyArn,
  this.description,
  required this.foundationModel,
  this.guardrailConfigurations,
  this.idleSessionTtlInSeconds,
  this.instruction,
  this.memoryConfigurations,
  this.prepareAgent,
  this.promptOverrideConfigurations,
  this.region,
  this.skipResourceInUseCheck,
  this.tags,
  this.timeouts,
});