Udostępnij za pośrednictwem


SDKResourceExtensions.WithProfile(IAWSSDKConfig, String) Method

Definition

Assign the AWS credential profile to the IAWSSDKConfigResource.

public static Aspire.Hosting.AWS.IAWSSDKConfig WithProfile (this Aspire.Hosting.AWS.IAWSSDKConfig config, string profile);
static member WithProfile : Aspire.Hosting.AWS.IAWSSDKConfig * string -> Aspire.Hosting.AWS.IAWSSDKConfig
<Extension()>
Public Function WithProfile (config As IAWSSDKConfig, profile As String) As IAWSSDKConfig

Parameters

config
IAWSSDKConfig

An IAWSSDKConfig instance.

profile
String

The name of the AWS credential profile.

Returns

Applies to