1. Packages
  2. Datadog Provider
  3. API Docs
  4. getAwsCurConfig
Datadog v4.57.0 published on Thursday, Oct 2, 2025 by Pulumi

datadog.getAwsCurConfig

Deploy with Pulumi
datadog logo
Datadog v4.57.0 published on Thursday, Oct 2, 2025 by Pulumi

    Use this data source to retrieve information about a specific Datadog AWS CUR (Cost and Usage Report) configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for AWS billing data access.

    Using getAwsCurConfig

    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 getAwsCurConfig(args: GetAwsCurConfigArgs, opts?: InvokeOptions): Promise<GetAwsCurConfigResult>
    function getAwsCurConfigOutput(args: GetAwsCurConfigOutputArgs, opts?: InvokeOptions): Output<GetAwsCurConfigResult>
    def get_aws_cur_config(account_filters: Optional[GetAwsCurConfigAccountFilters] = None,
                           cloud_account_id: Optional[int] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAwsCurConfigResult
    def get_aws_cur_config_output(account_filters: Optional[pulumi.Input[GetAwsCurConfigAccountFiltersArgs]] = None,
                           cloud_account_id: Optional[pulumi.Input[int]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAwsCurConfigResult]
    func LookupAwsCurConfig(ctx *Context, args *LookupAwsCurConfigArgs, opts ...InvokeOption) (*LookupAwsCurConfigResult, error)
    func LookupAwsCurConfigOutput(ctx *Context, args *LookupAwsCurConfigOutputArgs, opts ...InvokeOption) LookupAwsCurConfigResultOutput

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

    public static class GetAwsCurConfig 
    {
        public static Task<GetAwsCurConfigResult> InvokeAsync(GetAwsCurConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetAwsCurConfigResult> Invoke(GetAwsCurConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwsCurConfigResult> getAwsCurConfig(GetAwsCurConfigArgs args, InvokeOptions options)
    public static Output<GetAwsCurConfigResult> getAwsCurConfig(GetAwsCurConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: datadog:index/getAwsCurConfig:getAwsCurConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CloudAccountId int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    AccountFilters GetAwsCurConfigAccountFilters
    CloudAccountId int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    AccountFilters GetAwsCurConfigAccountFilters
    cloudAccountId Integer
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    accountFilters GetAwsCurConfigAccountFilters
    cloudAccountId number
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    accountFilters GetAwsCurConfigAccountFilters
    cloud_account_id int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    account_filters GetAwsCurConfigAccountFilters
    cloudAccountId Number
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    accountFilters Property Map

    getAwsCurConfig Result

    The following output properties are available:

    AccountId string
    The AWS account ID associated with this CUR configuration.
    BucketName string
    The S3 bucket name where Cost and Usage Report files are stored.
    BucketRegion string
    The AWS region where the S3 bucket is located.
    CloudAccountId int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    CreatedAt string
    The timestamp when the CUR configuration was created.
    ErrorMessages List<string>
    List of error messages if the CUR configuration encountered any issues.
    Id string
    The ID of this resource.
    ReportName string
    The name of the AWS Cost and Usage Report.
    ReportPrefix string
    The S3 key prefix where CUR files are stored within the bucket.
    Status string
    The current status of the CUR configuration (e.g., active, archived).
    StatusUpdatedAt string
    The timestamp when the CUR configuration status was last updated.
    UpdatedAt string
    The timestamp when the CUR configuration was last updated.
    AccountFilters GetAwsCurConfigAccountFilters
    AccountId string
    The AWS account ID associated with this CUR configuration.
    BucketName string
    The S3 bucket name where Cost and Usage Report files are stored.
    BucketRegion string
    The AWS region where the S3 bucket is located.
    CloudAccountId int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    CreatedAt string
    The timestamp when the CUR configuration was created.
    ErrorMessages []string
    List of error messages if the CUR configuration encountered any issues.
    Id string
    The ID of this resource.
    ReportName string
    The name of the AWS Cost and Usage Report.
    ReportPrefix string
    The S3 key prefix where CUR files are stored within the bucket.
    Status string
    The current status of the CUR configuration (e.g., active, archived).
    StatusUpdatedAt string
    The timestamp when the CUR configuration status was last updated.
    UpdatedAt string
    The timestamp when the CUR configuration was last updated.
    AccountFilters GetAwsCurConfigAccountFilters
    accountId String
    The AWS account ID associated with this CUR configuration.
    bucketName String
    The S3 bucket name where Cost and Usage Report files are stored.
    bucketRegion String
    The AWS region where the S3 bucket is located.
    cloudAccountId Integer
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    createdAt String
    The timestamp when the CUR configuration was created.
    errorMessages List<String>
    List of error messages if the CUR configuration encountered any issues.
    id String
    The ID of this resource.
    reportName String
    The name of the AWS Cost and Usage Report.
    reportPrefix String
    The S3 key prefix where CUR files are stored within the bucket.
    status String
    The current status of the CUR configuration (e.g., active, archived).
    statusUpdatedAt String
    The timestamp when the CUR configuration status was last updated.
    updatedAt String
    The timestamp when the CUR configuration was last updated.
    accountFilters GetAwsCurConfigAccountFilters
    accountId string
    The AWS account ID associated with this CUR configuration.
    bucketName string
    The S3 bucket name where Cost and Usage Report files are stored.
    bucketRegion string
    The AWS region where the S3 bucket is located.
    cloudAccountId number
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    createdAt string
    The timestamp when the CUR configuration was created.
    errorMessages string[]
    List of error messages if the CUR configuration encountered any issues.
    id string
    The ID of this resource.
    reportName string
    The name of the AWS Cost and Usage Report.
    reportPrefix string
    The S3 key prefix where CUR files are stored within the bucket.
    status string
    The current status of the CUR configuration (e.g., active, archived).
    statusUpdatedAt string
    The timestamp when the CUR configuration status was last updated.
    updatedAt string
    The timestamp when the CUR configuration was last updated.
    accountFilters GetAwsCurConfigAccountFilters
    account_id str
    The AWS account ID associated with this CUR configuration.
    bucket_name str
    The S3 bucket name where Cost and Usage Report files are stored.
    bucket_region str
    The AWS region where the S3 bucket is located.
    cloud_account_id int
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    created_at str
    The timestamp when the CUR configuration was created.
    error_messages Sequence[str]
    List of error messages if the CUR configuration encountered any issues.
    id str
    The ID of this resource.
    report_name str
    The name of the AWS Cost and Usage Report.
    report_prefix str
    The S3 key prefix where CUR files are stored within the bucket.
    status str
    The current status of the CUR configuration (e.g., active, archived).
    status_updated_at str
    The timestamp when the CUR configuration status was last updated.
    updated_at str
    The timestamp when the CUR configuration was last updated.
    account_filters GetAwsCurConfigAccountFilters
    accountId String
    The AWS account ID associated with this CUR configuration.
    bucketName String
    The S3 bucket name where Cost and Usage Report files are stored.
    bucketRegion String
    The AWS region where the S3 bucket is located.
    cloudAccountId Number
    The Datadog cloud account ID for the AWS CUR configuration you want to retrieve information about.
    createdAt String
    The timestamp when the CUR configuration was created.
    errorMessages List<String>
    List of error messages if the CUR configuration encountered any issues.
    id String
    The ID of this resource.
    reportName String
    The name of the AWS Cost and Usage Report.
    reportPrefix String
    The S3 key prefix where CUR files are stored within the bucket.
    status String
    The current status of the CUR configuration (e.g., active, archived).
    statusUpdatedAt String
    The timestamp when the CUR configuration status was last updated.
    updatedAt String
    The timestamp when the CUR configuration was last updated.
    accountFilters Property Map

    Supporting Types

    GetAwsCurConfigAccountFilters

    ExcludedAccounts List<string>
    List of AWS account IDs excluded from cost analysis.
    IncludeNewAccounts bool
    Whether new member accounts are automatically included in cost analysis.
    IncludedAccounts List<string>
    List of AWS account IDs included in cost analysis.
    ExcludedAccounts []string
    List of AWS account IDs excluded from cost analysis.
    IncludeNewAccounts bool
    Whether new member accounts are automatically included in cost analysis.
    IncludedAccounts []string
    List of AWS account IDs included in cost analysis.
    excludedAccounts List<String>
    List of AWS account IDs excluded from cost analysis.
    includeNewAccounts Boolean
    Whether new member accounts are automatically included in cost analysis.
    includedAccounts List<String>
    List of AWS account IDs included in cost analysis.
    excludedAccounts string[]
    List of AWS account IDs excluded from cost analysis.
    includeNewAccounts boolean
    Whether new member accounts are automatically included in cost analysis.
    includedAccounts string[]
    List of AWS account IDs included in cost analysis.
    excluded_accounts Sequence[str]
    List of AWS account IDs excluded from cost analysis.
    include_new_accounts bool
    Whether new member accounts are automatically included in cost analysis.
    included_accounts Sequence[str]
    List of AWS account IDs included in cost analysis.
    excludedAccounts List<String>
    List of AWS account IDs excluded from cost analysis.
    includeNewAccounts Boolean
    Whether new member accounts are automatically included in cost analysis.
    includedAccounts List<String>
    List of AWS account IDs included in cost analysis.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.57.0 published on Thursday, Oct 2, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate