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.getAzs
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 getAzs
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 getAzs(args: GetAzsArgs, opts?: InvokeOptions): Promise<GetAzsResult>
function getAzsOutput(args: GetAzsOutputArgs, opts?: InvokeOptions): Output<GetAzsResult>
def get_azs(region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAzsResult
def get_azs_output(region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAzsResult]
func GetAzs(ctx *Context, args *GetAzsArgs, opts ...InvokeOption) (*GetAzsResult, error)
func GetAzsOutput(ctx *Context, args *GetAzsOutputArgs, opts ...InvokeOption) GetAzsResultOutput
> Note: This function is named GetAzs
in the Go SDK.
public static class GetAzs
{
public static Task<GetAzsResult> InvokeAsync(GetAzsArgs args, InvokeOptions? opts = null)
public static Output<GetAzsResult> Invoke(GetAzsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAzsResult> getAzs(GetAzsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:getAzs
arguments:
# arguments dictionary
The following arguments are supported:
- Region string
- Region string
- region String
- region string
- region str
- region String
getAzs Result
The following output properties are available:
- Azs List<string>
- Azs []string
- azs List<String>
- azs string[]
- azs Sequence[str]
- azs List<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