lambda:CreateCapacityProvider is a Write access-level action in the lambda service. Grants permission to create an AWS Lambda capacity provider
ARNs that lambda:CreateCapacityProvider can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants lambda:CreateCapacityProvider.
Filters access by the tags that are passed in the request
Filters access by the tag keys that are passed in the request
Filters access by the ID of security groups configured for the AWS Lambda function
Filters access by the ID of subnets configured for the AWS Lambda function
Filters access by the tags associated with the resource
A minimal policy that allows lambda:CreateCapacityProvider. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLambdaCreateCapacityProvider",
"Effect": "Allow",
"Action": "lambda:CreateCapacityProvider",
"Resource": "*"
}
]
}