Skip to main content

marketplace_resources

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

Overview

Namemarketplace_resources
TypeResource
Idaws.imagebuilder.marketplace_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
datastringReturns obfuscated data that contains the YAML content of the component.
resource_arnstringThe Amazon Resource Name (ARN) for the Amazon Web Services Marketplace resource that was requested. (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>)
urlstringThe obfuscated S3 URL to download the component artifact from.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_marketplace_resourceselectregionVerify the subscription and perform resource dependency checks on the requested Amazon Web Services Marketplace resource. For Amazon Web Services Marketplace components, the response contains fields to download the components and their artifacts.

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

Verify the subscription and perform resource dependency checks on the requested Amazon Web Services Marketplace resource. For Amazon Web Services Marketplace components, the response contains fields to download the components and their artifacts.

SELECT
data,
resource_arn,
url
FROM aws.imagebuilder.marketplace_resources
WHERE region = '{{ region }}' -- required
;