1. Packages
  2. AWS Native
  3. API Docs
  4. apigateway
  5. getAccount

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

AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi

aws-native.apigateway.getAccount

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi

    Resource Type definition for AWS::ApiGateway::Account

    Using getAccount

    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 getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
    function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
    def get_account(id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAccountResult
    def get_account_output(id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
    func LookupAccount(ctx *Context, args *LookupAccountArgs, opts ...InvokeOption) (*LookupAccountResult, error)
    func LookupAccountOutput(ctx *Context, args *LookupAccountOutputArgs, opts ...InvokeOption) LookupAccountResultOutput

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

    public static class GetAccount 
    {
        public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:apigateway:getAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string

    Primary identifier which is manually generated.

    Id string

    Primary identifier which is manually generated.

    id String

    Primary identifier which is manually generated.

    id string

    Primary identifier which is manually generated.

    id str

    Primary identifier which is manually generated.

    id String

    Primary identifier which is manually generated.

    getAccount Result

    The following output properties are available:

    CloudWatchRoleArn string

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    Id string

    Primary identifier which is manually generated.

    CloudWatchRoleArn string

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    Id string

    Primary identifier which is manually generated.

    cloudWatchRoleArn String

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    id String

    Primary identifier which is manually generated.

    cloudWatchRoleArn string

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    id string

    Primary identifier which is manually generated.

    cloud_watch_role_arn str

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    id str

    Primary identifier which is manually generated.

    cloudWatchRoleArn String

    The Amazon Resource Name (ARN) of an IAM role that has write access to CloudWatch Logs in your account.

    id String

    Primary identifier which is manually generated.

    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.77.0 published on Wednesday, Sep 20, 2023 by Pulumi