Skip to main content

component_build_versions

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

Overview

Namecomponent_build_versions
TypeResource
Idaws.imagebuilder.component_build_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the component. (pattern: <code>^[-_A-Za-z-0-9][-_A-Za-z0-9 ]{1,126}[-_A-Za-z-0-9]$</code>)
arnstringThe Amazon Resource Name (ARN) of the component. (pattern: <code>^arn:aws[^:]*:imagebuilder:[^:]+:(?:[0-9]{12}|aws(?:-[a-z-]+)?):(?:image-recipe|container-recipe|infrastructure-configuration|distribution-configuration|component|image|image-pipeline|lifecycle-policy|workflow/(?:build|test|distribution))/[a-z0-9-_]+(?:/(?:(?:x|[0-9]+).(?:x|[0-9]+).(?:x|[0-9]+))(?:/[0-9]+)?)?$</code>)
change_descriptionstringThe change description for the current version of the component.
date_createdstringThe original creation date of the component.
descriptionstringThe description of the component.
obfuscatebooleanIndicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
ownerstringThe owner of the component.
platformstringThe operating system platform of the component. (Windows, Linux, macOS)
publisherstringContains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
stateobjectDescribes the current status of the component.
supported_os_versionsarrayThe operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
tagsobjectThe tags that apply to the component.
type_stringThe component type specifies whether Image Builder uses the component to build the image or only to test it. (BUILD, TEST)
versionstringThe version of the component. (pattern: <code>^[0-9]+.[0-9]+.[0-9]+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_component_build_versionsselectregionReturns the list of component build versions for the specified component version Amazon Resource Name (ARN).

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
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the list of component build versions for the specified component version Amazon Resource Name (ARN).

SELECT
name,
arn,
change_description,
date_created,
description,
obfuscate,
owner,
platform,
publisher,
state,
supported_os_versions,
tags,
type_,
version
FROM aws.imagebuilder.component_build_versions
WHERE region = '{{ region }}' -- required
;