A context object is provided by the Function Compute for users to obtain useful runtime information. For example, you can obtain the ID of the current request and record it in the running log. Thus, you use it to track the details of request execution.
// Request ID of the current request
// Credentials contains your identity verification information that is required for you to access other services.
// For example, you need them to access data in the specified OSS directory.
// You must explicitly assign roles to the service on creation to use them.
// For more information, see the permission management documentation.
// Related function information
memory: 128, // Integer, in MB.
timeout: 60 // Integer, in seconds.
Note: Currently, all attributes of the context objects are read-only.