Skip to content

🎥 Make videos programmatically with React

add docs

Jonny Burger6a0d0e2bd83a
diff --git a/packages/docs/docs/lambda/cli/functions.md b/packages/docs/docs/lambda/cli/functions.md
index 0734858c2a..e190cba005 100644
--- a/packages/docs/docs/lambda/cli/functions.md
+++ b/packages/docs/docs/lambda/cli/functions.md
@@ -77,6 +77,10 @@ Does not create a CloudWatch log group.
Retention period for the CloudWatch Logs in days. Default: <DefaultLogRetention /> days.
+### `--custom-role-arn`
+
+Use a custom role for the function instead of the default (`arn:aws:iam::[aws-account-id]:role/remotion-lambda-role`)
+
### `--quiet`, `-q`
Only logs the function name.
diff --git a/packages/docs/docs/lambda/deployfunction.md b/packages/docs/docs/lambda/deployfunction.md
index 1c583778a1..c6056d6ca8 100644
--- a/packages/docs/docs/lambda/deployfunction.md
+++ b/packages/docs/docs/lambda/deployfunction.md
@@ -68,6 +68,12 @@ _optional_
Sets the amount of disk storage that is available in the Lambda function. Must be between 512MB and 10240MB (10GB). Set this higher if you want to render longer videos. See also: [Disk size](/docs/lambda/disk-size)
+### `customRoleArn`
+
+_optional_
+
+Use a custom role for the function instead of the default (`arn:aws:iam::[aws-account-id]:role/remotion-lambda-role`)
+
## Return value
An object with the following values: