In the AWK SDK version 2 it was possible to set the global config options by doing something like:
AWS.config.update({
maxRetries: maxRetries,
httpOptions: {
timeout: requestTimeout,
connectTimeout: connectTimeout
}
});
Now the documentation says to configure it by service passing those options as an argument of an object like LambdaClient or EC2. But what if I use CDK and never use those client objects explicitly? Will a simple call of a constructor of such a client object change the configuration globally for all the subsequent usages the given type of resource or there is another mechanism to configure it?