Class AwsEndpointOptions
Base endpoint options shared by the SQS and SNS endpoints — AWS connection/credentials.
Bound from the URI query string by (reflection includes
these inherited properties). Credentials resolution mirrors redb.Route.S3.
public abstract class AwsEndpointOptions : EndpointOptions
Inheritance
Derived
Inherited Members
Properties
ConnectionFactory
Name of a pre-registered connection factory in the route registry (overrides URI credentials when found).
[RegistryReference(typeof(AwsConnectionFactory))]
public string ConnectionFactory { get; set; }
ConnectionTimeout
HTTP client timeout in milliseconds. Default 30000.
public int ConnectionTimeout { get; set; }
HeaderFilterStrategy
A registry reference (#name) to an that
[RegistryReference(typeof(IHeaderFilterStrategy))]
public string? HeaderFilterStrategy { get; set; }
ProfileName
Named AWS profile from the shared credentials file. Overrides access/secret keys when set.
public string ProfileName { get; set; }
RetryCount
Maximum SDK retry attempts on transient errors. Default 3.
public int RetryCount { get; set; }
ServiceUrl
Explicit service endpoint URL (e.g. http://localhost:4566 for LocalStack / ElasticMQ).
public string ServiceUrl { get; set; }
SessionToken
AWS session token for temporary (STS) credentials.
public string SessionToken { get; set; }
UseDefaultCredentialsProvider
Use the default AWS credential provider chain (env vars / instance profile / SSO). Default false.
public bool UseDefaultCredentialsProvider { get; set; }
Methods
ValidateAws()
Validates the shared AWS options. Concrete option classes call this from .
protected void ValidateAws()