Skip to main content

configuration_bundles

Creates, updates, deletes, gets or lists a configuration_bundles resource.

Overview

Nameconfiguration_bundles
TypeResource
Idaws.bedrock_agentcore_control.configuration_bundles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bundle_arnstringThe Amazon Resource Name (ARN) of the configuration bundle. (pattern: <code>arn:aws[a-zA-Z-]*:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:configuration-bundle/[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}</code>)
bundle_idstringThe unique identifier of the configuration bundle. (pattern: <code>[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}</code>)
bundle_namestringThe name of the configuration bundle. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,99}</code>)
componentsobjectA map of component identifiers to their configurations for this version.
created_atstring (date-time)The timestamp when the configuration bundle was created.
descriptionstringThe description of the configuration bundle. (pattern: <code>.+</code>)
kms_key_arnstringKMS key ARN used to encrypt component configurations, if CMK was provided. (pattern: <code>arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}</code>)
lineage_metadataobjectThe version lineage metadata, including parent versions, branch name, and creation source.
updated_atstring (date-time)The timestamp when the configuration bundle was last updated.
version_idstringThe version identifier of this configuration bundle. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configuration_bundleselectbundle_id, regionbranchNameGets the latest version of a configuration bundle. By default, returns the latest version on the mainline branch. Use GetConfigurationBundleVersion to retrieve a specific historical version.
list_configuration_bundlesselectregionnextToken, maxResultsLists all configuration bundles in the account.
create_configuration_bundleinsertregion, bundleName, componentsCreates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
update_configuration_bundleupdatebundle_id, regionUpdates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.
delete_configuration_bundledeletebundle_id, regionDeletes a configuration bundle and all of its versions.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
bundle_idstringThe unique identifier of the configuration bundle to delete.
regionstringAWS region (default: us-east-1)
branchNamestringThe branch name to get the latest version from. If not specified, returns the latest version on the mainline branch.
maxResultsintegerThe maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
nextTokenstringIf the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

SELECT examples

Gets the latest version of a configuration bundle. By default, returns the latest version on the mainline branch. Use GetConfigurationBundleVersion to retrieve a specific historical version.

SELECT
bundle_arn,
bundle_id,
bundle_name,
components,
created_at,
description,
kms_key_arn,
lineage_metadata,
updated_at,
version_id
FROM aws.bedrock_agentcore_control.configuration_bundles
WHERE bundle_id = '{{ bundle_id }}' -- required
AND region = '{{ region }}' -- required
AND branchName = '{{ branchName }}'
;

INSERT examples

Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.

INSERT INTO aws.bedrock_agentcore_control.configuration_bundles (
clientToken,
bundleName,
description,
components,
branchName,
commitMessage,
createdBy,
kmsKeyArn,
tags,
region
)
SELECT
'{{ clientToken }}',
'{{ bundleName }}' /* required */,
'{{ description }}',
'{{ components }}' /* required */,
'{{ branchName }}',
'{{ commitMessage }}',
'{{ createdBy }}',
'{{ kmsKeyArn }}',
'{{ tags }}',
'{{ region }}'
RETURNING
bundle_arn,
bundle_id,
created_at,
version_id
;

UPDATE examples

Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.

UPDATE aws.bedrock_agentcore_control.configuration_bundles
SET
clientToken = '{{ clientToken }}',
bundleName = '{{ bundleName }}',
description = '{{ description }}',
components = '{{ components }}',
parentVersionIds = '{{ parentVersionIds }}',
branchName = '{{ branchName }}',
commitMessage = '{{ commitMessage }}',
createdBy = '{{ createdBy }}',
kmsKeyArn = '{{ kmsKeyArn }}'
WHERE
bundle_id = '{{ bundle_id }}' --required
AND region = '{{ region }}' --required
RETURNING
bundle_arn,
bundle_id,
updated_at,
version_id;

DELETE examples

Deletes a configuration bundle and all of its versions.

DELETE FROM aws.bedrock_agentcore_control.configuration_bundles
WHERE bundle_id = '{{ bundle_id }}' --required
AND region = '{{ region }}' --required
;