View a markdown version of this page

Actions, resources, and condition keys for AWS Fault Injection Service - Service Authorization Reference

Actions, resources, and condition keys for AWS Fault Injection Service

AWS Fault Injection Service (service prefix: fis) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Fault Injection Service

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

CreateExperimentTemplate

fis:CreateExperimentTemplate

Write

fis:TagResource

Tagging, Write

iam:PassRole

iam:PassedToService

fis.amazonaws.com

Write

CreateTargetAccountConfiguration

fis:CreateTargetAccountConfiguration

Write

DeleteExperimentTemplate

fis:DeleteExperimentTemplate

Write

DeleteTargetAccountConfiguration

fis:DeleteTargetAccountConfiguration

Write

GetAction

fis:GetAction

Read

GetExperiment

fis:GetExperiment

Read

GetExperimentTargetAccountConfiguration

fis:GetExperimentTargetAccountConfiguration

Read

GetExperimentTemplate

fis:GetExperimentTemplate

Read

GetSafetyLever

fis:GetSafetyLever

Read

GetTargetAccountConfiguration

fis:GetTargetAccountConfiguration

Read

GetTargetResourceType

fis:GetTargetResourceType

Read

ListActions

fis:ListActions

List

ListExperimentResolvedTargets

fis:ListExperimentResolvedTargets

List

ListExperimentTargetAccountConfigurations

fis:ListExperimentTargetAccountConfigurations

List

ListExperimentTemplates

fis:ListExperimentTemplates

List

ListExperiments

fis:ListExperiments

List

ListTagsForResource

fis:ListTagsForResource

Read

ListTargetAccountConfigurations

fis:ListTargetAccountConfigurations

List

ListTargetResourceTypes

fis:ListTargetResourceTypes

List

StartExperiment

fis:StartExperiment

Write

fis:TagResource

Tagging, Write

StopExperiment

fis:StopExperiment

Write

TagResource

fis:TagResource

Tagging, Write

UntagResource

fis:UntagResource

Tagging, Write

UpdateExperimentTemplate

fis:UpdateExperimentTemplate

Write

iam:PassRole

iam:PassedToService

fis.amazonaws.com

Write

UpdateSafetyLeverState

fis:UpdateSafetyLeverState

Write

UpdateTargetAccountConfiguration

fis:UpdateTargetAccountConfiguration

Write

Actions defined by AWS Fault Injection Service

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

CreateExperimentTemplate

Grants permission to create an AWS FIS experiment template

action*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

experiment-template*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateTargetAccountConfiguration

Grants permission to create an AWS FIS target account configuration

experiment-template*

aws:ResourceTag/${TagKey}

Write

DeleteExperimentTemplate

Grants permission to delete the AWS FIS experiment template

experiment-template*

aws:ResourceTag/${TagKey}

Write

DeleteTargetAccountConfiguration

Grants permission to delete an AWS FIS target account configuration

experiment-template*

aws:ResourceTag/${TagKey}

Write

GetAction

Grants permission to retrieve an AWS FIS action

action*

aws:ResourceTag/${TagKey}

Read

GetExperiment

Grants permission to retrieve an AWS FIS experiment

experiment*

aws:ResourceTag/${TagKey}

Read

GetExperimentTargetAccountConfiguration

Grants permission to retrieve an AWS FIS target account configuration for an AWS FIS experiment

experiment*

aws:ResourceTag/${TagKey}

Read

GetExperimentTemplate

Grants permission to retrieve an AWS FIS Experiment Template

experiment-template*

aws:ResourceTag/${TagKey}

Read

GetSafetyLever

Grants permission to get information about the safety lever

safety-lever*

Read

GetTargetAccountConfiguration

Grants permission to retrieve an AWS FIS target account configuration for an AWS FIS experiment template

experiment-template*

aws:ResourceTag/${TagKey}

Read

GetTargetResourceType

Grants permission to get information about the specified resource type

Read

ListActions

Grants permission to list all available AWS FIS actions

List

ListExperimentResolvedTargets

Grants permission to list resolved targets for AWS FIS experiments

experiment*

aws:ResourceTag/${TagKey}

List

ListExperimentTargetAccountConfigurations

Grants permission to list target account configurations for AWS FIS experiments

experiment*

aws:ResourceTag/${TagKey}

List

ListExperimentTemplates

Grants permission to list all available AWS FIS experiment templates

List

ListExperiments

Grants permission to list all available AWS FIS experiments

List

ListTagsForResource

Grants permission to list the tags for an AWS FIS resource

action

aws:ResourceTag/${TagKey}

Read

experiment

aws:ResourceTag/${TagKey}

experiment-template

aws:ResourceTag/${TagKey}

ListTargetAccountConfigurations

Grants permission to list target account configurations for AWS FIS experiment templates

experiment-template*

aws:ResourceTag/${TagKey}

List

ListTargetResourceTypes

Grants permission to list the resource types

List

StartExperiment

Grants permission to run an AWS FIS experiment

experiment*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

experiment-template*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

StopExperiment

Grants permission to stop an AWS FIS experiment

experiment*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag AWS FIS resources

action

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

experiment

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

experiment-template

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

Grants permission to untag AWS FIS resources

action

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

experiment

aws:ResourceTag/${TagKey}

aws:TagKeys

experiment-template

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateExperimentTemplate

Grants permission to update the specified AWS FIS experiment template

action

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

experiment-template*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateSafetyLeverState

Grants permission to update the state of the safety lever

safety-lever*

Write

UpdateTargetAccountConfiguration

Grants permission to update an AWS FIS target account configuration

experiment-template*

aws:ResourceTag/${TagKey}

Write

Permission-only actions for AWS Fault Injection Service

The following actions are defined by AWS Fault Injection Service but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.

Actions Description Resource types (*required) Condition keys Access level

InjectApiInternalError

Grants permission to inject an API internal error on the provided AWS service from an FIS Experiment

experiment*

aws:ResourceTag/${TagKey}

fis:Operations

fis:Percentage

fis:Service

fis:Targets

Write

InjectApiThrottleError

Grants permission to inject an API throttle error on the provided AWS service from an FIS Experiment

experiment*

aws:ResourceTag/${TagKey}

fis:Operations

fis:Percentage

fis:Service

fis:Targets

Write

InjectApiUnavailableError

Grants permission to inject an API unavailable error on the provided AWS service from an FIS Experiment

experiment*

aws:ResourceTag/${TagKey}

fis:Operations

fis:Percentage

fis:Service

fis:Targets

Write

Resource types defined by AWS Fault Injection Service

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

action

arn:${Partition}:fis:${Region}:${Account}:action/${Id}

aws:ResourceTag/${TagKey}

experiment

arn:${Partition}:fis:${Region}:${Account}:experiment/${Id}

aws:ResourceTag/${TagKey}

experiment-template

arn:${Partition}:fis:${Region}:${Account}:experiment-template/${Id}

aws:ResourceTag/${TagKey}

safety-lever

arn:${Partition}:fis:${Region}:${Account}:safety-lever/${Id}

Condition keys for AWS Fault Injection Service

AWS Fault Injection Service defines the following condition keys that can be used in the Condition element of an IAM policy.

Condition keys Description Type

aws:RequestTag/${TagKey}

Filters access by a tag key and value pair that is allowed in the request

String

aws:ResourceTag/${TagKey}

Filters access by a tag key and value pair of a resource

String

aws:TagKeys

Filters access by a list of tag keys that are allowed in the request

ArrayOfString

fis:Operations

Filters access by the list of operations on the AWS service that is being affected by the AWS FIS action

ArrayOfString

fis:Percentage

Filters access by the percentage of calls being affected by the AWS FIS action

Numeric

fis:Service

Filters access by the AWS service that is being affected by the AWS FIS action

String

fis:Targets

Filters access by the list of resource ARNs being targeted by the AWS FIS action

ArrayOfString