Skip to main content

Client Options

Each client accepts an optional set of options when constructed. The following example sets static credentials for an SQS client:

var Options := TSQSOptions.Create as ISQSOptions;
Options.AccessKeyId := '...';
Options.SecretAccessKey := '...';
SQS := TSQSClient.Create(Options);

Options can configure credentials, retry behaviour, endpoints, and more. See AWS Options for full details including how to compose service-scoped options.