Class AwsEndpointOptions

Namespace: redb.Route.Sqs
Assembly: redb.Route.Sqs.dll

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

Object→EndpointOptions→AwsEndpointOptions

Derived

Inherited Members

Properties

AccessKey

AWS access key ID. Required unless or is used.

public string AccessKey { get; set; }

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; }

ProxyHost

Optional HTTP proxy host.

public string ProxyHost { get; set; }

ProxyPort

Optional HTTP proxy port.

public int ProxyPort { get; set; }

Region

AWS region (e.g. us-east-1, eu-west-1). Default us-east-1.

public string Region { get; set; }

RetryCount

Maximum SDK retry attempts on transient errors. Default 3.

public int RetryCount { get; set; }

SecretKey

AWS secret access key.

public string SecretKey { 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()