CakeEnvironmentExtensions.

Initialize<T>(T, ICakeEnvironment) Method

Summary

Helper method to get the AWS Credentials from environment variables

Syntax

public static T Initialize<T>(this T settings, ICakeEnvironment environment) 
    where T : ClientSettings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The Labda settings.
environment ICakeEnvironment The cake environment.

Return Value

Type Description
T The same ClientSettings instance so that multiple calls can be chained.