Skip to main content

target_resource_types

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

Overview​

Nametarget_resource_types
TypeResource
Idaws.fis.target_resource_types

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
descriptionstringA description of the resource type. (pattern: <code>[\s\S]+</code>)
parametersobjectThe parameters for the resource type.
resource_typestringThe resource type. (pattern: <code>[\S]+</code>)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_target_resource_typeselectresource_type, regionGets information about the specified resource type.
list_target_resource_typesselectregionmaxResults, nextTokenLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
resource_typestringThe resource type.
maxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
nextTokenstringThe token for the next page of results.

SELECT examples​

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
;