AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getAccountId

Using getAccountId

function getAccountId(opts?: InvokeOptions): Promise<GetAccountIdResult>
def get_account_id(opts: Optional[InvokeOptions] = None) -> GetAccountIdResult
func GetAccountId(ctx *Context, opts ...InvokeOption) (*GetAccountIdResult, error)

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

public static class GetAccountId 
{
    public static Task<GetAccountIdResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountIdResult> getAccountId(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:getAccountId
  Arguments:
    # Arguments dictionary

getAccountId Result

The following output properties are available:

AccountId string
AccountId string
accountId String
accountId string
accountId String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0