1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
LoadDefaultConfig
will accept any number of the LoadOptions
(With...
) functions as arguments. You should be able to do:
cfg, err := config.LoadDefaultConfig(context.TODO(), config.WithSharedConfigProfile("saml"), config.WithRegion("us-east-1"))
There's an example here: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/config#example-package-Custom_config.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
Ooooh right how could I miss this! Thanks.