AgentAgentState constructor

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

Creates a new AgentAgentState. agentArn ARN of the agent. agentCollaboration Agents collaboration role. Valid values: SUPERVISOR, SUPERVISOR_ROUTER, DISABLED. agentId Unique identifier of the agent. agentName Name of the agent. agentResourceRoleArn ARN of the IAM role with permissions to invoke API operations on the agent. agentVersion Version of 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. preparedAt Timestamp of when the agent was last prepared. 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. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. timeouts Optional.

Implementation

const AgentAgentState({
  this.agentArn,
  this.agentCollaboration,
  this.agentId,
  this.agentName,
  this.agentResourceRoleArn,
  this.agentVersion,
  this.customerEncryptionKeyArn,
  this.description,
  this.foundationModel,
  this.guardrailConfigurations,
  this.idleSessionTtlInSeconds,
  this.instruction,
  this.memoryConfigurations,
  this.prepareAgent,
  this.preparedAt,
  this.promptOverrideConfigurations,
  this.region,
  this.skipResourceInUseCheck,
  this.tags,
  this.tagsAll,
  this.timeouts,
});