1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. bedrock
  5. getAgentAlias

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.bedrock.getAgentAlias

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Definition of AWS::Bedrock::AgentAlias Resource Type

Using getAgentAlias

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 getAgentAlias(args: GetAgentAliasArgs, opts?: InvokeOptions): Promise<GetAgentAliasResult>
function getAgentAliasOutput(args: GetAgentAliasOutputArgs, opts?: InvokeOptions): Output<GetAgentAliasResult>
Copy
def get_agent_alias(agent_alias_id: Optional[str] = None,
                    agent_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAgentAliasResult
def get_agent_alias_output(agent_alias_id: Optional[pulumi.Input[str]] = None,
                    agent_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAgentAliasResult]
Copy
func LookupAgentAlias(ctx *Context, args *LookupAgentAliasArgs, opts ...InvokeOption) (*LookupAgentAliasResult, error)
func LookupAgentAliasOutput(ctx *Context, args *LookupAgentAliasOutputArgs, opts ...InvokeOption) LookupAgentAliasResultOutput
Copy

> Note: This function is named LookupAgentAlias in the Go SDK.

public static class GetAgentAlias 
{
    public static Task<GetAgentAliasResult> InvokeAsync(GetAgentAliasArgs args, InvokeOptions? opts = null)
    public static Output<GetAgentAliasResult> Invoke(GetAgentAliasInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAgentAliasResult> getAgentAlias(GetAgentAliasArgs args, InvokeOptions options)
public static Output<GetAgentAliasResult> getAgentAlias(GetAgentAliasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:bedrock:getAgentAlias
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AgentAliasId This property is required. string
Id for an Agent Alias generated at the server side.
AgentId This property is required. string
Identifier for a resource.
AgentAliasId This property is required. string
Id for an Agent Alias generated at the server side.
AgentId This property is required. string
Identifier for a resource.
agentAliasId This property is required. String
Id for an Agent Alias generated at the server side.
agentId This property is required. String
Identifier for a resource.
agentAliasId This property is required. string
Id for an Agent Alias generated at the server side.
agentId This property is required. string
Identifier for a resource.
agent_alias_id This property is required. str
Id for an Agent Alias generated at the server side.
agent_id This property is required. str
Identifier for a resource.
agentAliasId This property is required. String
Id for an Agent Alias generated at the server side.
agentId This property is required. String
Identifier for a resource.

getAgentAlias Result

The following output properties are available:

AgentAliasArn string
Arn representation of the Agent Alias.
AgentAliasHistoryEvents List<Pulumi.AwsNative.Bedrock.Outputs.AgentAliasHistoryEvent>
The list of history events for an alias for an Agent.
AgentAliasId string
Id for an Agent Alias generated at the server side.
AgentAliasName string
Name for a resource.
AgentAliasStatus Pulumi.AwsNative.Bedrock.AgentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
CreatedAt string
Time Stamp.
Description string
Description of the Resource.
RoutingConfiguration List<Pulumi.AwsNative.Bedrock.Outputs.AgentAliasRoutingConfigurationListItem>
Routing configuration for an Agent alias.
Tags Dictionary<string, string>
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

UpdatedAt string
Time Stamp.
AgentAliasArn string
Arn representation of the Agent Alias.
AgentAliasHistoryEvents []AgentAliasHistoryEvent
The list of history events for an alias for an Agent.
AgentAliasId string
Id for an Agent Alias generated at the server side.
AgentAliasName string
Name for a resource.
AgentAliasStatus AgentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
CreatedAt string
Time Stamp.
Description string
Description of the Resource.
RoutingConfiguration []AgentAliasRoutingConfigurationListItem
Routing configuration for an Agent alias.
Tags map[string]string
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

UpdatedAt string
Time Stamp.
agentAliasArn String
Arn representation of the Agent Alias.
agentAliasHistoryEvents List<AgentAliasHistoryEvent>
The list of history events for an alias for an Agent.
agentAliasId String
Id for an Agent Alias generated at the server side.
agentAliasName String
Name for a resource.
agentAliasStatus AgentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
createdAt String
Time Stamp.
description String
Description of the Resource.
routingConfiguration List<AgentAliasRoutingConfigurationListItem>
Routing configuration for an Agent alias.
tags Map<String,String>
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

updatedAt String
Time Stamp.
agentAliasArn string
Arn representation of the Agent Alias.
agentAliasHistoryEvents AgentAliasHistoryEvent[]
The list of history events for an alias for an Agent.
agentAliasId string
Id for an Agent Alias generated at the server side.
agentAliasName string
Name for a resource.
agentAliasStatus AgentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
createdAt string
Time Stamp.
description string
Description of the Resource.
routingConfiguration AgentAliasRoutingConfigurationListItem[]
Routing configuration for an Agent alias.
tags {[key: string]: string}
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

updatedAt string
Time Stamp.
agent_alias_arn str
Arn representation of the Agent Alias.
agent_alias_history_events Sequence[AgentAliasHistoryEvent]
The list of history events for an alias for an Agent.
agent_alias_id str
Id for an Agent Alias generated at the server side.
agent_alias_name str
Name for a resource.
agent_alias_status AgentAliasStatus
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
created_at str
Time Stamp.
description str
Description of the Resource.
routing_configuration Sequence[AgentAliasRoutingConfigurationListItem]
Routing configuration for an Agent alias.
tags Mapping[str, str]
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

updated_at str
Time Stamp.
agentAliasArn String
Arn representation of the Agent Alias.
agentAliasHistoryEvents List<Property Map>
The list of history events for an alias for an Agent.
agentAliasId String
Id for an Agent Alias generated at the server side.
agentAliasName String
Name for a resource.
agentAliasStatus "CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING"
The status of the alias of the agent and whether it is ready for use. The following statuses are possible:

  • CREATING – The agent alias is being created.
  • PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
  • FAILED – The agent alias API operation failed.
  • UPDATING – The agent alias is being updated.
  • DELETING – The agent alias is being deleted.
  • DISSOCIATED - The agent alias has no version associated with it.
createdAt String
Time Stamp.
description String
Description of the Resource.
routingConfiguration List<Property Map>
Routing configuration for an Agent alias.
tags Map<String>
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:

updatedAt String
Time Stamp.

Supporting Types

AgentAliasHistoryEvent

EndDate string
Time Stamp.
RoutingConfiguration List<Pulumi.AwsNative.Bedrock.Inputs.AgentAliasRoutingConfigurationListItem>
Routing configuration for an Agent alias.
StartDate string
Time Stamp.
EndDate string
Time Stamp.
RoutingConfiguration []AgentAliasRoutingConfigurationListItem
Routing configuration for an Agent alias.
StartDate string
Time Stamp.
endDate String
Time Stamp.
routingConfiguration List<AgentAliasRoutingConfigurationListItem>
Routing configuration for an Agent alias.
startDate String
Time Stamp.
endDate string
Time Stamp.
routingConfiguration AgentAliasRoutingConfigurationListItem[]
Routing configuration for an Agent alias.
startDate string
Time Stamp.
end_date str
Time Stamp.
routing_configuration Sequence[AgentAliasRoutingConfigurationListItem]
Routing configuration for an Agent alias.
start_date str
Time Stamp.
endDate String
Time Stamp.
routingConfiguration List<Property Map>
Routing configuration for an Agent alias.
startDate String
Time Stamp.

AgentAliasRoutingConfigurationListItem

AgentVersion This property is required. string
Agent Version.
AgentVersion This property is required. string
Agent Version.
agentVersion This property is required. String
Agent Version.
agentVersion This property is required. string
Agent Version.
agent_version This property is required. str
Agent Version.
agentVersion This property is required. String
Agent Version.

AgentAliasStatus

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi