aws-native logo
AWS Native v0.49.0, Jan 26 23

aws-native.getRegion

Using getRegion

function getRegion(opts?: InvokeOptions): Promise<GetRegionResult>
def get_region(opts: Optional[InvokeOptions] = None) -> GetRegionResult
func GetRegion(ctx *Context, opts ...InvokeOption) (*GetRegionResult, error)

> Note: This function is named GetRegion in the Go SDK.

public static class GetRegion 
{
    public static Task<GetRegionResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionResult> getRegion(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:getRegion
  arguments:
    # arguments dictionary

getRegion Result

The following output properties are available:

Region string
Region string
region String
region string
region str
region String

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0