Skip to main content

agent_tags

Expands all tag keys and values for agents in a region

Overview

Nameagent_tags
TypeResource
DescriptionDefinition of AWS::Bedrock::Agent Resource Type
Idaws.bedrock.agent_tags

Fields

NameDatatypeDescription
action_groupsarrayList of ActionGroups
agent_arnstringArn representation of the Agent.
agent_idstringIdentifier for a resource.
agent_namestringName for a resource.
agent_resource_role_arnstringARN of a IAM role.
agent_statusstringSchema Type for Action APIs.
agent_versionstringDraft Agent Version.
auto_preparebooleanSpecifies whether to automatically prepare after creating or updating the agent.
created_atstringTime Stamp.
customer_encryption_key_arnstringA KMS key ARN
skip_resource_in_use_check_on_deletebooleanSpecifies whether to allow deleting agent while it is in use.
descriptionstringDescription of the Resource.
failure_reasonsarrayFailure Reasons for Error.
foundation_modelstringARN or name of a Bedrock model.
idle_session_ttl_in_secondsnumberMax Session Time.
instructionstringInstruction for the agent.
knowledge_basesarrayList of Agent Knowledge Bases
prepared_atstringTime Stamp.
prompt_override_configurationobjectConfiguration for prompt override.
recommended_actionsarrayThe recommended actions users can take to resolve an error in failureReasons.
test_alias_tagsobjectA map of tag keys and values
updated_atstringTime Stamp.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all agents in a region.

SELECT
region,
action_groups,
agent_arn,
agent_id,
agent_name,
agent_resource_role_arn,
agent_status,
agent_version,
auto_prepare,
created_at,
customer_encryption_key_arn,
skip_resource_in_use_check_on_delete,
description,
failure_reasons,
foundation_model,
idle_session_ttl_in_seconds,
instruction,
knowledge_bases,
prepared_at,
prompt_override_configuration,
recommended_actions,
test_alias_tags,
updated_at,
tag_key,
tag_value
FROM aws.bedrock.agent_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the agent_tags resource, see agents