1. Registry
  2. Packages
  3. Datadog Provider
  4. API Docs
  5. aws
  6. getIntegrationAccount
Viewing docs for Datadog v5.12.0
published on Friday, Sep 25, 2026 by Pulumi
datadog logo
Viewing docs for Datadog v5.12.0
published on Friday, Sep 25, 2026 by Pulumi

    Use this data source to retrieve the Datadog AWS account integration config ID for a given AWS Account ID. This is the ID used to import an existing AWS integration into the datadog.aws.IntegrationAccount resource.

    Using getIntegrationAccount

    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 getIntegrationAccount(args: GetIntegrationAccountArgs, opts?: InvokeOptions): Promise<GetIntegrationAccountResult>
    function getIntegrationAccountOutput(args: GetIntegrationAccountOutputArgs, opts?: InvokeOutputOptions): Output<GetIntegrationAccountResult>
    def get_integration_account(aws_account_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetIntegrationAccountResult
    def get_integration_account_output(aws_account_id: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOutputOptions] = None) -> Output[GetIntegrationAccountResult]
    func LookupIntegrationAccount(ctx *Context, args *LookupIntegrationAccountArgs, opts ...InvokeOption) (*LookupIntegrationAccountResult, error)
    func LookupIntegrationAccountOutput(ctx *Context, args *LookupIntegrationAccountOutputArgs, opts ...InvokeOption) LookupIntegrationAccountResultOutput

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

    public static class GetIntegrationAccount 
    {
        public static Task<GetIntegrationAccountResult> InvokeAsync(GetIntegrationAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetIntegrationAccountResult> Invoke(GetIntegrationAccountInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIntegrationAccountResult> Invoke(GetIntegrationAccountInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIntegrationAccountResult> getIntegrationAccount(GetIntegrationAccountArgs args, InvokeOptions options)
    public static Output<GetIntegrationAccountResult> getIntegrationAccount(GetIntegrationAccountArgs args, InvokeOptions options)
    public static Output<GetIntegrationAccountResult> getIntegrationAccount(GetIntegrationAccountArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: datadog:aws/getIntegrationAccount:getIntegrationAccount
      arguments:
        # arguments dictionary
    data "datadog_aws_get_integration_account" "name" {
        # arguments
    }

    The following arguments are supported:

    AwsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    AwsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    aws_account_id string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    awsAccountId String
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    awsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    aws_account_id str
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    awsAccountId String
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.

    getIntegrationAccount Result

    The following output properties are available:

    AwsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    Id string
    The ID of this resource.
    AwsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    Id string
    The ID of this resource.
    aws_account_id string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    id string
    The ID of this resource.
    awsAccountId String
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    id String
    The ID of this resource.
    awsAccountId string
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    id string
    The ID of this resource.
    aws_account_id str
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    id str
    The ID of this resource.
    awsAccountId String
    The AWS Account ID of the integration config to look up. Must be a 12-digit AWS Account ID without dashes.
    id String
    The ID of this resource.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Viewing docs for Datadog v5.12.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial