installaws

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: MIT Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package installaws builds the AWS SDK for Go v2 clients of the install's ports (install.Clients) and the configuration of an assumed role. Apart from internal/aws (the estimate's read-only adapters), which the estimate alone uses: the estimate never imports the install (importguard_test.go).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assumed

func Assumed(cfg awssdk.Config, region, roleARN, session string) awssdk.Config

Assumed is a copy of cfg in region whose credentials are the role's, assumed with cfg's credentials through STS in region (a profile may have none: the run's comes from --region or the question; session names the session) and cached, refreshed before they expire.

func Clients

func Clients(cfg awssdk.Config, region string) install.Clients

Clients is every service's client from cfg in region (ACM in us-east-1, where CloudFront reads its certificates; IAM, STS and Organizations keep region, the SDK resolves their global endpoints), with the standard retryer, 5 attempts.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL