We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.getRegion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi