AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.bedrock.getAgent
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
Definition of AWS::Bedrock::Agent Resource Type
Using getAgent
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAgent(args: GetAgentArgs, opts?: InvokeOptions): Promise<GetAgentResult>
function getAgentOutput(args: GetAgentOutputArgs, opts?: InvokeOptions): Output<GetAgentResult>
def get_agent(agent_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAgentResult
def get_agent_output(agent_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAgentResult]
func LookupAgent(ctx *Context, args *LookupAgentArgs, opts ...InvokeOption) (*LookupAgentResult, error)
func LookupAgentOutput(ctx *Context, args *LookupAgentOutputArgs, opts ...InvokeOption) LookupAgentResultOutput
> Note: This function is named LookupAgent
in the Go SDK.
public static class GetAgent
{
public static Task<GetAgentResult> InvokeAsync(GetAgentArgs args, InvokeOptions? opts = null)
public static Output<GetAgentResult> Invoke(GetAgentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAgentResult> getAgent(GetAgentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:bedrock:getAgent
arguments:
# arguments dictionary
The following arguments are supported:
- Agent
Id string - Identifier for a resource.
- Agent
Id string - Identifier for a resource.
- agent
Id String - Identifier for a resource.
- agent
Id string - Identifier for a resource.
- agent_
id str - Identifier for a resource.
- agent
Id String - Identifier for a resource.
getAgent Result
The following output properties are available:
- Action
Groups List<Pulumi.Aws Native. Bedrock. Outputs. Agent Action Group> - List of ActionGroups
- Agent
Arn string - Arn representation of the Agent.
- Agent
Id string - Identifier for a resource.
- Agent
Name string - Name for a resource.
- Agent
Resource stringRole Arn - ARN of a IAM role.
- Agent
Status Pulumi.Aws Native. Bedrock. Agent Status - Agent
Version string - Draft Agent Version.
- Created
At string - Time Stamp.
- Customer
Encryption stringKey Arn - A KMS key ARN
- Description string
- Description of the Resource.
- Failure
Reasons List<string> - Failure Reasons for Error.
- Foundation
Model string - ARN or name of a Bedrock model.
- Idle
Session doubleTtl In Seconds - Max Session Time.
- Instruction string
- Instruction for the agent.
- Knowledge
Bases List<Pulumi.Aws Native. Bedrock. Outputs. Agent Knowledge Base> - List of Agent Knowledge Bases
- Prepared
At string - Time Stamp.
- Prompt
Override Pulumi.Configuration Aws Native. Bedrock. Outputs. Agent Prompt Override Configuration - Recommended
Actions List<string> - The recommended actions users can take to resolve an error in failureReasons.
- Dictionary<string, string>
- Dictionary<string, string>
- Updated
At string - Time Stamp.
- Action
Groups []AgentAction Group - List of ActionGroups
- Agent
Arn string - Arn representation of the Agent.
- Agent
Id string - Identifier for a resource.
- Agent
Name string - Name for a resource.
- Agent
Resource stringRole Arn - ARN of a IAM role.
- Agent
Status AgentStatus - Agent
Version string - Draft Agent Version.
- Created
At string - Time Stamp.
- Customer
Encryption stringKey Arn - A KMS key ARN
- Description string
- Description of the Resource.
- Failure
Reasons []string - Failure Reasons for Error.
- Foundation
Model string - ARN or name of a Bedrock model.
- Idle
Session float64Ttl In Seconds - Max Session Time.
- Instruction string
- Instruction for the agent.
- Knowledge
Bases []AgentKnowledge Base - List of Agent Knowledge Bases
- Prepared
At string - Time Stamp.
- Prompt
Override AgentConfiguration Prompt Override Configuration - Recommended
Actions []string - The recommended actions users can take to resolve an error in failureReasons.
- map[string]string
- map[string]string
- Updated
At string - Time Stamp.
- action
Groups List<AgentAction Group> - List of ActionGroups
- agent
Arn String - Arn representation of the Agent.
- agent
Id String - Identifier for a resource.
- agent
Name String - Name for a resource.
- agent
Resource StringRole Arn - ARN of a IAM role.
- agent
Status AgentStatus - agent
Version String - Draft Agent Version.
- created
At String - Time Stamp.
- customer
Encryption StringKey Arn - A KMS key ARN
- description String
- Description of the Resource.
- failure
Reasons List<String> - Failure Reasons for Error.
- foundation
Model String - ARN or name of a Bedrock model.
- idle
Session DoubleTtl In Seconds - Max Session Time.
- instruction String
- Instruction for the agent.
- knowledge
Bases List<AgentKnowledge Base> - List of Agent Knowledge Bases
- prepared
At String - Time Stamp.
- prompt
Override AgentConfiguration Prompt Override Configuration - recommended
Actions List<String> - The recommended actions users can take to resolve an error in failureReasons.
- Map<String,String>
- Map<String,String>
- updated
At String - Time Stamp.
- action
Groups AgentAction Group[] - List of ActionGroups
- agent
Arn string - Arn representation of the Agent.
- agent
Id string - Identifier for a resource.
- agent
Name string - Name for a resource.
- agent
Resource stringRole Arn - ARN of a IAM role.
- agent
Status AgentStatus - agent
Version string - Draft Agent Version.
- created
At string - Time Stamp.
- customer
Encryption stringKey Arn - A KMS key ARN
- description string
- Description of the Resource.
- failure
Reasons string[] - Failure Reasons for Error.
- foundation
Model string - ARN or name of a Bedrock model.
- idle
Session numberTtl In Seconds - Max Session Time.
- instruction string
- Instruction for the agent.
- knowledge
Bases AgentKnowledge Base[] - List of Agent Knowledge Bases
- prepared
At string - Time Stamp.
- prompt
Override AgentConfiguration Prompt Override Configuration - recommended
Actions string[] - The recommended actions users can take to resolve an error in failureReasons.
- {[key: string]: string}
- {[key: string]: string}
- updated
At string - Time Stamp.
- action_
groups Sequence[AgentAction Group] - List of ActionGroups
- agent_
arn str - Arn representation of the Agent.
- agent_
id str - Identifier for a resource.
- agent_
name str - Name for a resource.
- agent_
resource_ strrole_ arn - ARN of a IAM role.
- agent_
status AgentStatus - agent_
version str - Draft Agent Version.
- created_
at str - Time Stamp.
- customer_
encryption_ strkey_ arn - A KMS key ARN
- description str
- Description of the Resource.
- failure_
reasons Sequence[str] - Failure Reasons for Error.
- foundation_
model str - ARN or name of a Bedrock model.
- idle_
session_ floatttl_ in_ seconds - Max Session Time.
- instruction str
- Instruction for the agent.
- knowledge_
bases Sequence[AgentKnowledge Base] - List of Agent Knowledge Bases
- prepared_
at str - Time Stamp.
- prompt_
override_ Agentconfiguration Prompt Override Configuration - recommended_
actions Sequence[str] - The recommended actions users can take to resolve an error in failureReasons.
- Mapping[str, str]
- Mapping[str, str]
- updated_
at str - Time Stamp.
- action
Groups List<Property Map> - List of ActionGroups
- agent
Arn String - Arn representation of the Agent.
- agent
Id String - Identifier for a resource.
- agent
Name String - Name for a resource.
- agent
Resource StringRole Arn - ARN of a IAM role.
- agent
Status "CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING" - agent
Version String - Draft Agent Version.
- created
At String - Time Stamp.
- customer
Encryption StringKey Arn - A KMS key ARN
- description String
- Description of the Resource.
- failure
Reasons List<String> - Failure Reasons for Error.
- foundation
Model String - ARN or name of a Bedrock model.
- idle
Session NumberTtl In Seconds - Max Session Time.
- instruction String
- Instruction for the agent.
- knowledge
Bases List<Property Map> - List of Agent Knowledge Bases
- prepared
At String - Time Stamp.
- prompt
Override Property MapConfiguration - recommended
Actions List<String> - The recommended actions users can take to resolve an error in failureReasons.
- Map<String>
- Map<String>
- updated
At String - Time Stamp.
Supporting Types
AgentActionGroup
- Action
Group stringName - Name of the action group
- Action
Group Pulumi.Executor Aws Native. Bedrock. Inputs. Agent Action Group Executor - Action
Group Pulumi.State Aws Native. Bedrock. Agent Action Group State - Api
Schema Pulumi.Aws | Pulumi.Native. Bedrock. Inputs. Agent Api Schema0Properties Aws Native. Bedrock. Inputs. Agent Api Schema1Properties - Description string
- Description of action group
- Parent
Action Pulumi.Group Signature Aws Native. Bedrock. Agent Action Group Signature - Skip
Resource boolIn Use Check On Delete - Specifies whether to allow deleting action group while it is in use.
- Action
Group stringName - Name of the action group
- Action
Group AgentExecutor Action Group Executor - Action
Group AgentState Action Group State - Api
Schema AgentApi | AgentSchema0Properties Api Schema1Properties - Description string
- Description of action group
- Parent
Action AgentGroup Signature Action Group Signature - Skip
Resource boolIn Use Check On Delete - Specifies whether to allow deleting action group while it is in use.
- action
Group StringName - Name of the action group
- action
Group AgentExecutor Action Group Executor - action
Group AgentState Action Group State - api
Schema AgentApi | AgentSchema0Properties Api Schema1Properties - description String
- Description of action group
- parent
Action AgentGroup Signature Action Group Signature - skip
Resource BooleanIn Use Check On Delete - Specifies whether to allow deleting action group while it is in use.
- action
Group stringName - Name of the action group
- action
Group AgentExecutor Action Group Executor - action
Group AgentState Action Group State - api
Schema AgentApi | AgentSchema0Properties Api Schema1Properties - description string
- Description of action group
- parent
Action AgentGroup Signature Action Group Signature - skip
Resource booleanIn Use Check On Delete - Specifies whether to allow deleting action group while it is in use.
- action_
group_ strname - Name of the action group
- action_
group_ Agentexecutor Action Group Executor - action_
group_ Agentstate Action Group State - api_
schema AgentApi | AgentSchema0Properties Api Schema1Properties - description str
- Description of action group
- parent_
action_ Agentgroup_ signature Action Group Signature - skip_
resource_ boolin_ use_ check_ on_ delete - Specifies whether to allow deleting action group while it is in use.
- action
Group StringName - Name of the action group
- action
Group Property MapExecutor - action
Group "ENABLED" | "DISABLED"State - api
Schema Property Map | Property Map - description String
- Description of action group
- parent
Action "AMAZON.Group Signature User Input" - skip
Resource BooleanIn Use Check On Delete - Specifies whether to allow deleting action group while it is in use.
AgentActionGroupExecutor
- Lambda string
- ARN of a Lambda.
- Lambda string
- ARN of a Lambda.
- lambda String
- ARN of a Lambda.
- lambda string
- ARN of a Lambda.
- lambda_ str
- ARN of a Lambda.
- lambda String
- ARN of a Lambda.
AgentActionGroupSignature
AgentActionGroupState
AgentApiSchema0Properties
AgentApiSchema1Properties
- Payload string
- String OpenAPI Payload
- Payload string
- String OpenAPI Payload
- payload String
- String OpenAPI Payload
- payload string
- String OpenAPI Payload
- payload str
- String OpenAPI Payload
- payload String
- String OpenAPI Payload
AgentCreationMode
AgentInferenceConfiguration
- Maximum
Length double - Maximum length of output
- Stop
Sequences List<string> - List of stop sequences
- Temperature double
- Controls randomness, higher values increase diversity
- Top
K double - Sample from the k most likely next tokens
- Top
P double - Cumulative probability cutoff for token selection
- Maximum
Length float64 - Maximum length of output
- Stop
Sequences []string - List of stop sequences
- Temperature float64
- Controls randomness, higher values increase diversity
- Top
K float64 - Sample from the k most likely next tokens
- Top
P float64 - Cumulative probability cutoff for token selection
- maximum
Length Double - Maximum length of output
- stop
Sequences List<String> - List of stop sequences
- temperature Double
- Controls randomness, higher values increase diversity
- top
K Double - Sample from the k most likely next tokens
- top
P Double - Cumulative probability cutoff for token selection
- maximum
Length number - Maximum length of output
- stop
Sequences string[] - List of stop sequences
- temperature number
- Controls randomness, higher values increase diversity
- top
K number - Sample from the k most likely next tokens
- top
P number - Cumulative probability cutoff for token selection
- maximum_
length float - Maximum length of output
- stop_
sequences Sequence[str] - List of stop sequences
- temperature float
- Controls randomness, higher values increase diversity
- top_
k float - Sample from the k most likely next tokens
- top_
p float - Cumulative probability cutoff for token selection
- maximum
Length Number - Maximum length of output
- stop
Sequences List<String> - List of stop sequences
- temperature Number
- Controls randomness, higher values increase diversity
- top
K Number - Sample from the k most likely next tokens
- top
P Number - Cumulative probability cutoff for token selection
AgentKnowledgeBase
- Description string
- Description of the Resource.
- Knowledge
Base stringId - Identifier for a resource.
- Knowledge
Base Pulumi.State Aws Native. Bedrock. Agent Knowledge Base State
- Description string
- Description of the Resource.
- Knowledge
Base stringId - Identifier for a resource.
- Knowledge
Base AgentState Knowledge Base State
- description String
- Description of the Resource.
- knowledge
Base StringId - Identifier for a resource.
- knowledge
Base AgentState Knowledge Base State
- description string
- Description of the Resource.
- knowledge
Base stringId - Identifier for a resource.
- knowledge
Base AgentState Knowledge Base State
- description str
- Description of the Resource.
- knowledge_
base_ strid - Identifier for a resource.
- knowledge_
base_ Agentstate Knowledge Base State
- description String
- Description of the Resource.
- knowledge
Base StringId - Identifier for a resource.
- knowledge
Base "ENABLED" | "DISABLED"State
AgentKnowledgeBaseState
AgentPromptConfiguration
- Base
Prompt stringTemplate - Base Prompt Template.
- Inference
Configuration Pulumi.Aws Native. Bedrock. Inputs. Agent Inference Configuration - Parser
Mode Pulumi.Aws Native. Bedrock. Agent Creation Mode - Prompt
Creation Pulumi.Mode Aws Native. Bedrock. Agent Creation Mode - Prompt
State Pulumi.Aws Native. Bedrock. Agent Prompt State - Prompt
Type Pulumi.Aws Native. Bedrock. Agent Prompt Type
AgentPromptOverrideConfiguration
- Prompt
Configurations List<Pulumi.Aws Native. Bedrock. Inputs. Agent Prompt Configuration> - List of BasePromptConfiguration
- Override
Lambda string - ARN of a Lambda.
- Prompt
Configurations []AgentPrompt Configuration - List of BasePromptConfiguration
- Override
Lambda string - ARN of a Lambda.
- prompt
Configurations List<AgentPrompt Configuration> - List of BasePromptConfiguration
- override
Lambda String - ARN of a Lambda.
- prompt
Configurations AgentPrompt Configuration[] - List of BasePromptConfiguration
- override
Lambda string - ARN of a Lambda.
- prompt_
configurations Sequence[AgentPrompt Configuration] - List of BasePromptConfiguration
- override_
lambda str - ARN of a Lambda.
- prompt
Configurations List<Property Map> - List of BasePromptConfiguration
- override
Lambda String - ARN of a Lambda.
AgentPromptState
AgentPromptType
AgentS3Identifier
- S3Bucket
Name string - A bucket in S3.
- S3Object
Key string - A object key in S3.
- S3Bucket
Name string - A bucket in S3.
- S3Object
Key string - A object key in S3.
- s3Bucket
Name String - A bucket in S3.
- s3Object
Key String - A object key in S3.
- s3Bucket
Name string - A bucket in S3.
- s3Object
Key string - A object key in S3.
- s3_
bucket_ strname - A bucket in S3.
- s3_
object_ strkey - A object key in S3.
- s3Bucket
Name String - A bucket in S3.
- s3Object
Key String - A object key in S3.
AgentStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi