serverlessrepo:CreateCloudFormationTemplate

Write

serverlessrepo:CreateCloudFormationTemplate is a Write access-level action in the serverlessrepo service. Grants permission to create an AWS CloudFormation template

Resource types

ARNs that serverlessrepo:CreateCloudFormationTemplate can be scoped to in an IAM policy.

arn:${Partition}:serverlessrepo:${Region}:${Account}:applications/${ResourceId} required
applications

Condition keys

Keys you can use in the Condition block of a policy that grants serverlessrepo:CreateCloudFormationTemplate.

serverlessrepo:applicationType String

Filters access by application type

Example IAM policy

A minimal policy that allows serverlessrepo:CreateCloudFormationTemplate. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowServerlessrepoCreateCloudFormationTemplate",
      "Effect": "Allow",
      "Action": "serverlessrepo:CreateCloudFormationTemplate",
      "Resource": "*"
    }
  ]
}

Related actions in serverlessrepo

View all serverlessrepo actions →