Class CfnAgentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAgentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentPropsMixin>
- Enclosing class:
CfnAgentPropsMixin
@Stability(Stable)
public static final class CfnAgentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentPropsMixin>
A fluent builder for
CfnAgentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionactionGroups(List<? extends Object> actionGroups) The action groups that belong to an agent.actionGroups(IResolvable actionGroups) The action groups that belong to an agent.agentCollaboration(String agentCollaboration) The agent's collaboration settings.agentCollaborators(List<? extends Object> agentCollaborators) List of Agent Collaborators.agentCollaborators(IResolvable agentCollaborators) List of Agent Collaborators.The name of the agent.agentResourceRoleArn(String agentResourceRoleArn) The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.autoPrepare(Boolean autoPrepare) Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent.autoPrepare(IResolvable autoPrepare) Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent.build()static CfnAgentPropsMixin.Buildercreate()static CfnAgentPropsMixin.Buildercreate(CfnPropertyMixinOptions options) customerEncryptionKeyArn(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the AWS key that encrypts the agent.customOrchestration(CfnAgentPropsMixin.CustomOrchestrationProperty customOrchestration) Contains custom orchestration configurations for the agent.customOrchestration(IResolvable customOrchestration) Contains custom orchestration configurations for the agent.description(String description) The description of the agent.foundationModel(String foundationModel) The foundation model used for orchestration by the agent.guardrailConfiguration(CfnAgentPropsMixin.GuardrailConfigurationProperty guardrailConfiguration) Details about the guardrail associated with the agent.guardrailConfiguration(IResolvable guardrailConfiguration) Details about the guardrail associated with the agent.idleSessionTtlInSeconds(Number idleSessionTtlInSeconds) The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.instruction(String instruction) Instructions that tell the agent what it should do and how it should interact with users.knowledgeBases(List<? extends Object> knowledgeBases) The knowledge bases associated with the agent.knowledgeBases(IResolvable knowledgeBases) The knowledge bases associated with the agent.memoryConfiguration(CfnAgentPropsMixin.MemoryConfigurationProperty memoryConfiguration) Contains memory configuration for the agent.memoryConfiguration(IResolvable memoryConfiguration) Contains memory configuration for the agent.orchestrationType(String orchestrationType) Specifies the orchestration strategy for the agent.promptOverrideConfiguration(CfnAgentPropsMixin.PromptOverrideConfigurationProperty promptOverrideConfiguration) Contains configurations to override prompt templates in different parts of an agent sequence.promptOverrideConfiguration(IResolvable promptOverrideConfiguration) Contains configurations to override prompt templates in different parts of an agent sequence.skipResourceInUseCheckOnDelete(Boolean skipResourceInUseCheckOnDelete) Specifies whether to delete the resource even if it's in use.skipResourceInUseCheckOnDelete(IResolvable skipResourceInUseCheckOnDelete) Specifies whether to delete the resource even if it's in use.Metadata that you can assign to a resource as key-value pairs.testAliasTags(Map<String, String> testAliasTags) Metadata that you can assign to a resource as key-value pairs.testAliasTags(IResolvable testAliasTags) Metadata that you can assign to a resource as key-value pairs.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAgentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAgentPropsMixin.Builder.
-
actionGroups
The action groups that belong to an agent.- Parameters:
actionGroups- The action groups that belong to an agent. This parameter is required.- Returns:
this- See Also:
-
actionGroups
@Stability(Stable) public CfnAgentPropsMixin.Builder actionGroups(List<? extends Object> actionGroups) The action groups that belong to an agent.- Parameters:
actionGroups- The action groups that belong to an agent. This parameter is required.- Returns:
this- See Also:
-
agentCollaboration
The agent's collaboration settings.- Parameters:
agentCollaboration- The agent's collaboration settings. This parameter is required.- Returns:
this- See Also:
-
agentCollaborators
@Stability(Stable) public CfnAgentPropsMixin.Builder agentCollaborators(IResolvable agentCollaborators) List of Agent Collaborators.- Parameters:
agentCollaborators- List of Agent Collaborators. This parameter is required.- Returns:
this- See Also:
-
agentCollaborators
@Stability(Stable) public CfnAgentPropsMixin.Builder agentCollaborators(List<? extends Object> agentCollaborators) List of Agent Collaborators.- Parameters:
agentCollaborators- List of Agent Collaborators. This parameter is required.- Returns:
this- See Also:
-
agentName
The name of the agent.- Parameters:
agentName- The name of the agent. This parameter is required.- Returns:
this- See Also:
-
agentResourceRoleArn
@Stability(Stable) public CfnAgentPropsMixin.Builder agentResourceRoleArn(String agentResourceRoleArn) The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.- Parameters:
agentResourceRoleArn- The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent. This parameter is required.- Returns:
this- See Also:
-
autoPrepare
Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent.The
DRAFTversion can be continually iterated upon during internal development. By default, this value isfalse.Default: - false
- Parameters:
autoPrepare- Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent. This parameter is required.- Returns:
this- See Also:
-
autoPrepare
Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent.The
DRAFTversion can be continually iterated upon during internal development. By default, this value isfalse.Default: - false
- Parameters:
autoPrepare- Specifies whether to automatically update theDRAFTversion of the agent after making changes to the agent. This parameter is required.- Returns:
this- See Also:
-
customerEncryptionKeyArn
@Stability(Stable) public CfnAgentPropsMixin.Builder customerEncryptionKeyArn(String customerEncryptionKeyArn) The Amazon Resource Name (ARN) of the AWS key that encrypts the agent.- Parameters:
customerEncryptionKeyArn- The Amazon Resource Name (ARN) of the AWS key that encrypts the agent. This parameter is required.- Returns:
this- See Also:
-
customOrchestration
@Stability(Stable) public CfnAgentPropsMixin.Builder customOrchestration(IResolvable customOrchestration) Contains custom orchestration configurations for the agent.- Parameters:
customOrchestration- Contains custom orchestration configurations for the agent. This parameter is required.- Returns:
this- See Also:
-
customOrchestration
@Stability(Stable) public CfnAgentPropsMixin.Builder customOrchestration(CfnAgentPropsMixin.CustomOrchestrationProperty customOrchestration) Contains custom orchestration configurations for the agent.- Parameters:
customOrchestration- Contains custom orchestration configurations for the agent. This parameter is required.- Returns:
this- See Also:
-
description
The description of the agent.- Parameters:
description- The description of the agent. This parameter is required.- Returns:
this- See Also:
-
foundationModel
The foundation model used for orchestration by the agent.- Parameters:
foundationModel- The foundation model used for orchestration by the agent. This parameter is required.- Returns:
this- See Also:
-
guardrailConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder guardrailConfiguration(IResolvable guardrailConfiguration) Details about the guardrail associated with the agent.- Parameters:
guardrailConfiguration- Details about the guardrail associated with the agent. This parameter is required.- Returns:
this- See Also:
-
guardrailConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder guardrailConfiguration(CfnAgentPropsMixin.GuardrailConfigurationProperty guardrailConfiguration) Details about the guardrail associated with the agent.- Parameters:
guardrailConfiguration- Details about the guardrail associated with the agent. This parameter is required.- Returns:
this- See Also:
-
idleSessionTtlInSeconds
@Stability(Stable) public CfnAgentPropsMixin.Builder idleSessionTtlInSeconds(Number idleSessionTtlInSeconds) The 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.
- Parameters:
idleSessionTtlInSeconds- The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent. This parameter is required.- Returns:
this- See Also:
-
instruction
Instructions that tell the agent what it should do and how it should interact with users.- Parameters:
instruction- Instructions that tell the agent what it should do and how it should interact with users. This parameter is required.- Returns:
this- See Also:
-
knowledgeBases
The knowledge bases associated with the agent.- Parameters:
knowledgeBases- The knowledge bases associated with the agent. This parameter is required.- Returns:
this- See Also:
-
knowledgeBases
@Stability(Stable) public CfnAgentPropsMixin.Builder knowledgeBases(List<? extends Object> knowledgeBases) The knowledge bases associated with the agent.- Parameters:
knowledgeBases- The knowledge bases associated with the agent. This parameter is required.- Returns:
this- See Also:
-
memoryConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder memoryConfiguration(IResolvable memoryConfiguration) Contains memory configuration for the agent.- Parameters:
memoryConfiguration- Contains memory configuration for the agent. This parameter is required.- Returns:
this- See Also:
-
memoryConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder memoryConfiguration(CfnAgentPropsMixin.MemoryConfigurationProperty memoryConfiguration) Contains memory configuration for the agent.- Parameters:
memoryConfiguration- Contains memory configuration for the agent. This parameter is required.- Returns:
this- See Also:
-
orchestrationType
Specifies the orchestration strategy for the agent.- Parameters:
orchestrationType- Specifies the orchestration strategy for the agent. This parameter is required.- Returns:
this- See Also:
-
promptOverrideConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder promptOverrideConfiguration(IResolvable promptOverrideConfiguration) Contains configurations to override prompt templates in different parts of an agent sequence.For more information, see Advanced prompts .
- Parameters:
promptOverrideConfiguration- Contains configurations to override prompt templates in different parts of an agent sequence. This parameter is required.- Returns:
this- See Also:
-
promptOverrideConfiguration
@Stability(Stable) public CfnAgentPropsMixin.Builder promptOverrideConfiguration(CfnAgentPropsMixin.PromptOverrideConfigurationProperty promptOverrideConfiguration) Contains configurations to override prompt templates in different parts of an agent sequence.For more information, see Advanced prompts .
- Parameters:
promptOverrideConfiguration- Contains configurations to override prompt templates in different parts of an agent sequence. This parameter is required.- Returns:
this- See Also:
-
skipResourceInUseCheckOnDelete
@Stability(Stable) public CfnAgentPropsMixin.Builder skipResourceInUseCheckOnDelete(Boolean skipResourceInUseCheckOnDelete) Specifies whether to delete the resource even if it's in use.By default, this value is
false.Default: - false
- Parameters:
skipResourceInUseCheckOnDelete- Specifies whether to delete the resource even if it's in use. This parameter is required.- Returns:
this- See Also:
-
skipResourceInUseCheckOnDelete
@Stability(Stable) public CfnAgentPropsMixin.Builder skipResourceInUseCheckOnDelete(IResolvable skipResourceInUseCheckOnDelete) Specifies whether to delete the resource even if it's in use.By default, this value is
false.Default: - false
- Parameters:
skipResourceInUseCheckOnDelete- Specifies whether to delete the resource even if it's in use. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Parameters:
tags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. This parameter is required.- Returns:
this- See Also:
-
testAliasTags
@Stability(Stable) public CfnAgentPropsMixin.Builder testAliasTags(Map<String, String> testAliasTags) Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Parameters:
testAliasTags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. This parameter is required.- Returns:
this- See Also:
-
testAliasTags
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.- Parameters:
testAliasTags- Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentPropsMixin>- Returns:
- a newly built instance of
CfnAgentPropsMixin.
-