region Property
The region the class will make requests against.
Syntax
def get_region() -> str: ... def set_region(value: str) -> None: ...
region = property(get_region, set_region)
Default Value
"us-east-1"
Remarks
This property control which region the class will make requests against. By default the class uses us-east-1, the US East (Ashburn, VA) region. This property should be changed to create or access resources in other regions.
Regions:
Value | Region |
eu-central-1 | Europe (Amsterdam) |
us-east-1 (Default) | US East (Ashburn, VA) |
us-east-2 | US East (Manassas, VA) |
us-west-1 | US West (Hillsboro, OR) |
The class will always convert this property's value to lowercase. If this property is cleared, the class will reset it to the default value.