🎥 Make videos programmatically with React
Update custom-destination.mdx
Jonny Burger9284f2e7fcee
diff --git a/packages/docs/docs/lambda/custom-destination.mdx b/packages/docs/docs/lambda/custom-destination.mdxindex 46ce4ae8a2..f9b00dbd93 100644--- a/packages/docs/docs/lambda/custom-destination.mdx+++ b/packages/docs/docs/lambda/custom-destination.mdx@@ -45,7 +45,7 @@ const {bucketName, renderId} = await renderMediaOnLambda({If you like to use this feature:-- You must extend the [default Remotion policy](/docs/lambda/permissions) to allow read and write access to that bucket.+- You must extend the [default Remotion role policy](/docs/lambda/permissions) (not user policy) to allow read and write access to that bucket.- The bucket must be in the same region.- When calling APIs such as [`downloadMedia()`](/docs/lambda/downloadmedia) or [`getRenderProgress()`](/docs/lambda/getrenderprogress), you must pass the `bucketName` where the site resides in, not the bucket where the video gets saved.- The `key` must match `/^([0-9a-zA-Z-!_.*'()/]+)$/g`