SqsConnector
class SqsConnector implements ConnectorInterface
Methods
Get the default configuration for SQS.
Get the AWS client configuration for the given connection config.
Configure the credentials for the given connection config.
Resolve a credential provider from the given config.
Wrap the given credential provider so the credentials it resolves are shared across processes via the cache.
Get the cache key for the connection's shared credentials.
Determine if resolved credentials should be shared across processes via the cache.
Details
at line 24
Queue
connect(array $config)
Establish a queue connection.
at line 43
protected array
getDefaultConfiguration(array $config)
Get the default configuration for SQS.
at line 74
protected array
clientConfiguration(array $config)
Get the AWS client configuration for the given connection config.
at line 97
protected array
withCredentials(array $config)
Configure the credentials for the given connection config.
at line 130
protected mixed
resolveCredentialProvider(array $config)
Resolve a credential provider from the given config.
at line 160
protected callable
cachedCredentialProvider(callable $provider, array $config)
Wrap the given credential provider so the credentials it resolves are shared across processes via the cache.
at line 185
static string
credentialsCacheKey(array $config)
Get the cache key for the connection's shared credentials.
The key is scoped to this host or container, because the role behind instance and container credentials is only known after fetching them, so identical settings on different machines may resolve different roles. Within that scope it separates the configured provider and the environment and configuration values that select its credentials. Secret values are hashed before they reach the key.
at line 259
protected bool
credentialCachingEnabled(array $config)
Determine if resolved credentials should be shared across processes via the cache.