View a markdown version of this page

Actions, resources, and condition keys for AWS Serverless Application Repository - Service Authorization Reference

Actions, resources, and condition keys for AWS Serverless Application Repository

AWS Serverless Application Repository (service prefix: serverlessrepo) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Serverless Application Repository

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

CreateApplication

serverlessrepo:CreateApplication

Write

CreateApplicationVersion

serverlessrepo:CreateApplicationVersion

Write

CreateCloudFormationChangeSet

serverlessrepo:CreateCloudFormationChangeSet

Write

CreateCloudFormationTemplate

serverlessrepo:CreateCloudFormationTemplate

Write

DeleteApplication

serverlessrepo:DeleteApplication

Write

GetApplication

serverlessrepo:GetApplication

Read

GetApplicationPolicy

serverlessrepo:GetApplicationPolicy

Read

GetCloudFormationTemplate

serverlessrepo:GetCloudFormationTemplate

Read

ListApplicationDependencies

serverlessrepo:ListApplicationDependencies

List

ListApplicationVersions

serverlessrepo:ListApplicationVersions

List

ListApplications

serverlessrepo:ListApplications

List

PutApplicationPolicy

serverlessrepo:PutApplicationPolicy

Write

UnshareApplication

serverlessrepo:UnshareApplication

Write

UpdateApplication

serverlessrepo:UpdateApplication

Write

Actions defined by AWS Serverless Application Repository

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

CreateApplication

Grants permission to create an application, optionally including an AWS SAM file to create the first application version in the same call

Write

CreateApplicationVersion

Grants permission to create an application version

applications*

Write

CreateCloudFormationChangeSet

Grants permission to create an AWS CloudFormation ChangeSet for the given application

applications*

serverlessrepo:applicationType

Write

CreateCloudFormationTemplate

Grants permission to create an AWS CloudFormation template

applications*

serverlessrepo:applicationType

Write

DeleteApplication

Grants permission to delete the specified application

applications*

Write