addLayerVersionPermission
inline suspend fun LambdaClient.addLayerVersionPermission(crossinline block: AddLayerVersionPermissionRequest.Builder.() -> Unit): AddLayerVersionPermissionResponse
Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.
To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.