NoteDuring execution, the function will use the execution role to get a temporary key to manipulate relevant Tencent Cloud resources.
appid
, secret_id
, secret_key
, region
, and resized_bucket
in the function code with your APPID
, SecretId
, SecretKey
, region
, and resized_bucket
Note
- You can get the
APPID
on the Account Info page in the console.- You can get
SecretId
andSecretKey
on the API Key Management page in the console.
mybucket
created in Step 1.mybucket1
, click Upload File, and select a random .jpg or .png image for upload.mybucket-resized1
, check whether there is a file with the same name generated, download it, and compare the size of the two images.
Was this page helpful?