All Products
Search
Document Center

Resource Access Management:Serverless Workflow (FnF)

Last Updated:Dec 31, 2021

Resource Access Management (RAM) users or RAM roles must be granted permissions before they can access cloud resources. RAM uses policies to define permissions. A cloud service defines elements that can be used in a policy statement, such as Action, Resource, and Condition. This topic describes the permissions on Serverless Workflow (FnF).

The code (RamCode) in RAM that is used to indicate Serverless Workflow (FnF) is fnf. You can grant permissions on Serverless Workflow at the resource level.

Action

The following table describes the values that you can use in the Action element of a policy statement. The values are defined by Serverless Workflow. The following list describes the columns in the table:
  • Action: the value that you can use in the Action element to specify the operation on a resource.

  • API: the API operation that you can call to perform the action. In most cases, only one API operation of a cloud service is required to perform an action. In some cases, multiple API operations must be called to perform an action, or an API operation can be called to perform multiple actions.

  • Access level: the access level of each action. The levels are read, write, and list.

  • Resource type: the type of the resource on which you can authorize a RAM user or a RAM role to perform the operation. Take note of the following items:

    • The required resource types are displayed in bold characters.

    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the action.

  • Condition key: the condition keys that are defined by a cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Policy elements.

  • Dependent action: other actions that a RAM user or a RAM role must have permissions to perform the action. To successfully call the action, a RAM user or a RAM role must have the permissions to perform the dependent action.

Actions

APIs

Access level

Resource type

Condition keys

Dependent actions

fnf:CreateFlow

CreateFlow

Write

Flow

acs:fnf:*:{#accountId}:flow/*

None

None

fnf:CreateSchedule

CreateSchedule

Write

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/*

None

None

fnf:DeleteFlow

DeleteFlow

Write

Flow

acs:fnf:*:{#accountId}:flow/{#FlowName}

None

None

fnf:DeleteSchedule

DeleteSchedule

Write

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/{#ScheduleName}

None

None

fnf:DescribeExecution

DescribeExecution

Read

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

None

None

fnf:DescribeFlow

DescribeFlow

Read

Flow

acs:fnf:*:{#accountId}:flow/{#FlowName}

None

None

fnf:DescribeSchedule

DescribeSchedule

Read

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/{#ScheduleName}

None

None

fnf:GetExecutionHistory

GetExecutionHistory

Read

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

None

None

fnf:ListExecutions

ListExecutions

List

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/*

None

None

fnf:ListFlows

ListFlows

List

Flow

acs:fnf:*:{#accountId}:flow/*

None

None

fnf:ListSchedules

ListSchedules

List

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/*

None

None

fnf:ReportTaskFailed

ReportTaskFailed

Read

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

None

None

fnf:ReportTaskSucceeded

ReportTaskSucceeded

Read

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

None

None

fnf:StartExecution

StartExecution

Write

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/*

None

None

fnf:StopExecution

StopExecution

Write

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

None

None

fnf:UpdateFlow

UpdateFlow

Write

Flow

acs:fnf:*:{#accountId}:flow/{#FlowName}

None

None

fnf:UpdateSchedule

UpdateSchedule

Write

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/{#ScheduleName}

None

None

Resource

The following table describes the values that you can use in the Resource element of a policy statement. The values are defined by Serverless Workflow.

The Alibaba Cloud Resource Name (ARN) is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:

  • {#} indicates a variable. {#} must be replaced with an actual value. For example, {#regionId} must be replaced with the actual ID of the region where your resource resides.

  • An asterisk (*) is used as a wildcard. Examples:

    • If you specify {#resourceType}/*, all resources are specified.

    • If {#regionId} is set to *, all regions are specified.

    • If {#accountId} is set to *, all Alibaba Cloud accounts are specified.

Resource type

ARN

Flow

acs:fnf:*:{#accountId}:flow/{#FlowName}

Execution

acs:fnf:*:{#accountId}:flow/{#FlowName}/execution/{#ExecutionName}

Schedule

acs:fnf:*:{#accountId}:flow/{#FlowName}/schedule/{#ScheduleName}

Condition

Serverless Workflow (FnF) does not define service-specific condition keys. For more information about common condition keys that are defined by Alibaba Cloud, see Policy elements.