Skip to main content

state_machine

Gets an individual state_machine resource

Overview

Namestate_machine
TypeResource
Descriptionstate_machine
Idawscc.stepfunctions.state_machine

Fields

NameDatatypeDescription
arnstring
namestring
definition_stringstring
role_arnstring
state_machine_namestring
state_machine_typestring
state_machine_revision_idstring
logging_configurationobject
tracing_configurationobject
definition_s3_locationobject
definition_substitutionsobject
definitionobject
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
name,
definition_string,
role_arn,
state_machine_name,
state_machine_type,
state_machine_revision_id,
logging_configuration,
tracing_configuration,
definition_s3_location,
definition_substitutions,
definition,
tags
FROM awscc.stepfunctions.state_machine
WHERE data__Identifier = '<Arn>';

Permissions

To operate on the state_machine resource, the following permissions are required:

Read

states:DescribeStateMachine,
states:ListTagsForResource

Update

states:UpdateStateMachine,
states:TagResource,
states:UntagResource,
states:ListTagsForResource,
iam:PassRole

Delete

states:DeleteStateMachine,
states:DescribeStateMachine