serverlessrepo:CreateCloudFormationTemplate is a Write access-level action in the serverlessrepo service. Grants permission to create an AWS CloudFormation template
ARNs that serverlessrepo:CreateCloudFormationTemplate can be scoped to in an IAM policy.
No condition keys are documented for this action.
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": "*"
}
]
}