Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumeClients ¶
type AssumeClients[C Client] interface { // Get returns the Lambda for the provided role. // If the role is nil, will return the default Lambda without assuming any identity. Get(assumeRole *arn.ARN) C }
AssumeClients provides the clients by a role.
func NewAssumeClients ¶
func NewAssumeClients[C Client](props ClientProps[C]) AssumeClients[C]
NewAssumeClients returns a AssumeClients for a default aws.Config.
type ClientProps ¶
type ClientProps[C Client] struct { // Config to be used. Config aws.Config // NewClient factory func. NewClient func(aws.Config, aws.CredentialsProvider) C }
ClientProps for creating a new Client.
func LambdaClientProps ¶
func LambdaClientProps(config aws.Config) ClientProps[Lambda]
LambdaClientProps for the provided aws.Config.
Click to show internal directories.
Click to hide internal directories.