TemporaryTokenDuration Parameter (Connect-Elasticsearch Cmdlet)
The amount of time (in seconds) an AWS temporary token will last.
Connect-Elasticsearch -TemporaryTokenDuration string
Temporary tokens are used with Role based authentication. Temporary tokens will eventually time out, at which time a new temporary token must be obtained. The CData Cmdlets PowerShell Module for Elasticsearch will internally request a new temporary token once the temporary token has expired.
For Role based authentication, the minimum duration is 900 seconds (15 minutes) while the maximum if 3600 (1 hour).
This is a required parameter.