1 implementation of Profile
Aspire.Hosting.AWS (1)
AWSSDKConfig.cs (1)
11
public string?
Profile
{ get; set; }
1 write to Profile
Aspire.Hosting.AWS (1)
SDKResourceExtensions.cs (1)
35
config.
Profile
= profile;
10 references to Profile
Aspire.Hosting.AWS (5)
IAWSSDKConfig.cs (2)
28
if (!string.IsNullOrEmpty(
Profile
))
30
config.Profile = new Profile(
Profile
);
SdkUtilities.cs (3)
46
if (!string.IsNullOrEmpty(awsSdkConfig.
Profile
))
51
context.EnvironmentVariables["AWS__Profile"] = awsSdkConfig.
Profile
;
54
context.EnvironmentVariables["AWS_PROFILE"] = awsSdkConfig.
Profile
;
Aspire.Hosting.AWS.Tests (5)
AWSCDKResourceTests.cs (4)
33
Assert.Equal("test-profile", resource.AWSSDKConfig.
Profile
);
57
Assert.Equal("test-profile", resource.AWSSDKConfig.
Profile
);
83
Assert.Equal("other-test-profile", stackResource.AWSSDKConfig.
Profile
);
89
Assert.Equal("test-profile", cdkResource.AWSSDKConfig.
Profile
);
AWSCloudFormationResourceTests.cs (1)
29
Assert.Equal("test-profile", resource.AWSSDKConfig.
Profile
);