I am using aws-cdk and I would like to declare a Global section as suggested here
How can I create the Globals section from aws-cdk typescript code?
Parameters:
Tag:
Type: String
Default: latest
Description: Docker tag to build and deploy.
Globals:
Function:
Timeout: 5
The Parameters section is done.
I wrote this code:
new CfnParameter(this, 'Tag', {
default: 'latest',
description: 'Docker tag to build and deploy.'
});
and I got the desired output.
But I could not find the parallel to Globals in cdk API.
What code should I use to get the same output of Globals section?