1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
To use the Exchange Online PowerShell module within your Lambda function, you will need to package the module along with its dependencies into your deployment package.
When creating the deployment package:
- Add the Exchange Online PowerShell module files and any required assemblies to the package.
- Include your PowerShell script that will use the module.
- Zip all the files into a deployment package.
- You can then upload this package to Lambda using the AWS CLI command
aws lambda update-function-code
When the Lambda function is invoked, the Exchange Online module and its commands will be available for use within your PowerShell script code. Just be aware that Lambda execution environment has certain limitations on file system access and execution time. So test thoroughly to ensure your code works as expected within those constraints.
Contenus pertinents
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a 4 mois