target_resource_types
Creates, updates, deletes, gets or lists a target_resource_types resource.
Overview
| Name | target_resource_types |
| Type | Resource |
| Id | aws.fis.target_resource_types |
Fields
The following fields are returned by SELECT queries:
- get_target_resource_type
- list_target_resource_types
| Name | Datatype | Description |
|---|---|---|
description | string | A description of the resource type. (pattern: <code>[\s\S]+</code>) |
parameters | object | The parameters for the resource type. |
resource_type | string | The resource type. (pattern: <code>[\S]+</code>) |
| Name | Datatype | Description |
|---|---|---|
description | string | A description of the resource type. (pattern: <code>[\s\S]+</code>) |
resource_type | string | The resource type. (pattern: <code>[\S]+</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_target_resource_type | select | resource_type, region | Gets information about the specified resource type. | |
list_target_resource_types | select | region | maxResults, nextToken | Lists the target resource types. |
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) |
resource_type | string | The resource type. |
maxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
nextToken | string | The token for the next page of results. |
SELECT examples
- get_target_resource_type
- list_target_resource_types
Gets information about the specified resource type.
SELECT
description,
parameters,
resource_type
FROM aws.fis.target_resource_types
WHERE resource_type = '{{ resource_type }}' -- required
AND region = '{{ region }}' -- required
;
Lists the target resource types.
SELECT
description,
resource_type
FROM aws.fis.target_resource_types
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;