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