Table of Contents

SquidStd.Aws.Abstractions

Shared, dependency-free AWS connection config for SquidStd providers built on the AWS SDK (e.g. SquidStd.Messaging.Sqs). A single AwsConfigEntry carries region, credentials and an optional endpoint override (for LocalStack or other S3/SQS-compatible endpoints).

Install

dotnet add package SquidStd.Aws.Abstractions

Usage

using SquidStd.Aws.Abstractions.Data.Config;

var aws = new AwsConfigEntry
{
    Region = "eu-west-1",
    // AccessKey/SecretKey omitted -> the AWS default credential chain is used
    ServiceUrl = null,        // set to http://localhost:4566 for LocalStack
};

When AccessKey/SecretKey are null, consumers fall back to the AWS default credential chain (environment variables, shared profile, IAM role). When ServiceUrl is set, consumers point their client at that endpoint instead of the regional AWS endpoint.

Key types

Type Purpose
AwsConfigEntry Region, optional credentials and an optional endpoint override (e.g. LocalStack).

License

MIT - part of SquidStd.