Skip to main content

actions

Creates, updates, deletes, gets or lists an actions resource.

Overview​

Nameactions
TypeResource
Idaws.fis.actions

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the action. (pattern: <code>[\S]+</code>)
arnstringThe Amazon Resource Name (ARN) of the action. (pattern: <code>[\S]+</code>)
descriptionstringThe description for the action. (pattern: <code>[\s\S]+</code>)
parametersobjectThe action parameters, if applicable.
tagsobjectThe tags for the action.
targetsobjectThe supported targets for the action.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_actionselectid, regionGets information about the specified FIS action.
list_actionsselectregionmaxResults, nextTokenLists the available FIS actions.

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
idstringThe ID of the action.
regionstringAWS region (default: us-east-1)
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 FIS action.

SELECT
id,
arn,
description,
parameters,
tags,
targets
FROM aws.fis.actions
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;