1 implementation of Region
Aspire.Hosting.AWS (1)
AWSSDKConfig.cs (1)
14
public RegionEndpoint?
Region
{ get; set; }
1 write to Region
Aspire.Hosting.AWS (1)
SDKResourceExtensions.cs (1)
46
config.
Region
= region;
10 references to Region
Aspire.Hosting.AWS (5)
IAWSSDKConfig.cs (2)
33
if (
Region
!= null)
35
config.RegionEndpoint =
Region
;
SdkUtilities.cs (3)
58
if (awsSdkConfig.
Region
!= null)
63
context.EnvironmentVariables["AWS__Region"] = awsSdkConfig.
Region
.SystemName;
66
context.EnvironmentVariables["AWS_REGION"] = awsSdkConfig.
Region
.SystemName;
Aspire.Hosting.AWS.Tests (5)
AWSCDKResourceTests.cs (4)
32
Assert.Equal(RegionEndpoint.EUWest1, resource.AWSSDKConfig.
Region
);
56
Assert.Equal(RegionEndpoint.EUWest1, resource.AWSSDKConfig.
Region
);
82
Assert.Equal(RegionEndpoint.EUWest2, stackResource.AWSSDKConfig.
Region
);
88
Assert.Equal(RegionEndpoint.EUWest1, cdkResource.AWSSDKConfig.
Region
);
AWSCloudFormationResourceTests.cs (1)
28
Assert.Equal(RegionEndpoint.USWest2, resource.AWSSDKConfig.
Region
);