1. Packages
  2. AWS Native
  3. API Docs
  4. getRegion

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.getRegion

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    Using getRegion

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

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

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

    public static class GetRegion 
    {
        public static Task<GetRegionResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetRegionResult> Invoke(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
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi