marketplace_resources
Creates, updates, deletes, gets or lists a marketplace_resources resource.
Overview
| Name | marketplace_resources |
| Type | Resource |
| Id | aws.imagebuilder.marketplace_resources |
Fields
The following fields are returned by SELECT queries:
- get_marketplace_resource
| Name | Datatype | Description |
|---|---|---|
data | string | Returns obfuscated data that contains the YAML content of the component. |
resource_arn | string | The 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>) |
url | string | The obfuscated S3 URL to download the component artifact from. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_marketplace_resource | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_marketplace_resource
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
;