Global config options with AWS SDK 3

0

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?

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions