published on Thursday, Jun 18, 2026 by Pulumi
published on Thursday, Jun 18, 2026 by Pulumi
Provides a Datadog IntegrationAwsAccountCcmConfig resource. This can be used to create and manage Cloud Cost Management configuration for an AWS Account Integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Create new integration_aws_account_ccm_config resource
const foo = new datadog.aws.IntegrationAccountCcmConfig("foo", {
awsAccountConfigId: "00000000-0000-0000-0000-000000000000",
ccmConfig: [{
dataExportConfigs: [{
reportName: "cost-and-usage-report",
reportPrefix: "reports",
reportType: "CUR2.0",
bucketName: "billing",
bucketRegion: "us-east-1",
}],
}],
});
import pulumi
import pulumi_datadog as datadog
# Create new integration_aws_account_ccm_config resource
foo = datadog.aws.IntegrationAccountCcmConfig("foo",
aws_account_config_id="00000000-0000-0000-0000-000000000000",
ccm_config=[{
"dataExportConfigs": [{
"reportName": "cost-and-usage-report",
"reportPrefix": "reports",
"reportType": "CUR2.0",
"bucketName": "billing",
"bucketRegion": "us-east-1",
}],
}])
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog/aws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create new integration_aws_account_ccm_config resource
_, err := aws.NewIntegrationAccountCcmConfig(ctx, "foo", &aws.IntegrationAccountCcmConfigArgs{
AwsAccountConfigId: pulumi.String("00000000-0000-0000-0000-000000000000"),
CcmConfig: aws.IntegrationAccountCcmConfigCcmConfigArgs{
map[string]interface{}{
"dataExportConfigs": []map[string]interface{}{
map[string]interface{}{
"reportName": "cost-and-usage-report",
"reportPrefix": "reports",
"reportType": "CUR2.0",
"bucketName": "billing",
"bucketRegion": "us-east-1",
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// Create new integration_aws_account_ccm_config resource
var foo = new Datadog.Aws.IntegrationAccountCcmConfig("foo", new()
{
AwsAccountConfigId = "00000000-0000-0000-0000-000000000000",
CcmConfig = new[]
{
{
{ "dataExportConfigs", new[]
{
{
{ "reportName", "cost-and-usage-report" },
{ "reportPrefix", "reports" },
{ "reportType", "CUR2.0" },
{ "bucketName", "billing" },
{ "bucketRegion", "us-east-1" },
},
} },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.aws.IntegrationAccountCcmConfig;
import com.pulumi.datadog.aws.IntegrationAccountCcmConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create new integration_aws_account_ccm_config resource
var foo = new IntegrationAccountCcmConfig("foo", IntegrationAccountCcmConfigArgs.builder()
.awsAccountConfigId("00000000-0000-0000-0000-000000000000")
.ccmConfig(com.pulumi.datadog.aws.inputs.IntegrationAccountCcmConfigCcmConfigArgs.builder()
.dataExportConfigs(com.pulumi.datadog.aws.inputs.IntegrationAccountCcmConfigCcmConfigDataExportConfigArgs.builder()
.reportName("cost-and-usage-report")
.reportPrefix("reports")
.reportType("CUR2.0")
.bucketName("billing")
.bucketRegion("us-east-1")
.build())
.build())
.build());
}
}
resources:
# Create new integration_aws_account_ccm_config resource
foo:
type: datadog:aws:IntegrationAccountCcmConfig
properties:
awsAccountConfigId: 00000000-0000-0000-0000-000000000000
ccmConfig:
- dataExportConfigs:
- reportName: cost-and-usage-report
reportPrefix: reports
reportType: CUR2.0
bucketName: billing
bucketRegion: us-east-1
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
# Create new integration_aws_account_ccm_config resource
resource "datadog_aws_integrationaccountccmconfig" "foo" {
aws_account_config_id = "00000000-0000-0000-0000-000000000000"
ccm_config = [{
"dataExportConfigs" = [{
"reportName" = "cost-and-usage-report"
"reportPrefix" = "reports"
"reportType" = "CUR2.0"
"bucketName" = "billing"
"bucketRegion" = "us-east-1"
}]
}]
}
Create IntegrationAccountCcmConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationAccountCcmConfig(name: string, args: IntegrationAccountCcmConfigArgs, opts?: CustomResourceOptions);@overload
def IntegrationAccountCcmConfig(resource_name: str,
args: IntegrationAccountCcmConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationAccountCcmConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
aws_account_config_id: Optional[str] = None,
ccm_config: Optional[IntegrationAccountCcmConfigCcmConfigArgs] = None)func NewIntegrationAccountCcmConfig(ctx *Context, name string, args IntegrationAccountCcmConfigArgs, opts ...ResourceOption) (*IntegrationAccountCcmConfig, error)public IntegrationAccountCcmConfig(string name, IntegrationAccountCcmConfigArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountCcmConfig(String name, IntegrationAccountCcmConfigArgs args)
public IntegrationAccountCcmConfig(String name, IntegrationAccountCcmConfigArgs args, CustomResourceOptions options)
type: datadog:aws:IntegrationAccountCcmConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "datadog_aws_integrationaccountccmconfig" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IntegrationAccountCcmConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationAccountCcmConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationAccountCcmConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAccountCcmConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationAccountCcmConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationAccountCcmConfigResource = new Datadog.Aws.IntegrationAccountCcmConfig("integrationAccountCcmConfigResource", new()
{
AwsAccountConfigId = "string",
CcmConfig = new Datadog.Aws.Inputs.IntegrationAccountCcmConfigCcmConfigArgs
{
DataExportConfigs = new[]
{
new Datadog.Aws.Inputs.IntegrationAccountCcmConfigCcmConfigDataExportConfigArgs
{
BucketName = "string",
BucketRegion = "string",
ReportName = "string",
ReportPrefix = "string",
ReportType = "string",
},
},
},
});
example, err := aws.NewIntegrationAccountCcmConfig(ctx, "integrationAccountCcmConfigResource", &aws.IntegrationAccountCcmConfigArgs{
AwsAccountConfigId: pulumi.String("string"),
CcmConfig: &aws.IntegrationAccountCcmConfigCcmConfigArgs{
DataExportConfigs: aws.IntegrationAccountCcmConfigCcmConfigDataExportConfigArray{
&aws.IntegrationAccountCcmConfigCcmConfigDataExportConfigArgs{
BucketName: pulumi.String("string"),
BucketRegion: pulumi.String("string"),
ReportName: pulumi.String("string"),
ReportPrefix: pulumi.String("string"),
ReportType: pulumi.String("string"),
},
},
},
})
resource "datadog_aws_integrationaccountccmconfig" "integrationAccountCcmConfigResource" {
aws_account_config_id = "string"
ccm_config = {
data_export_configs = [{
"bucketName" = "string"
"bucketRegion" = "string"
"reportName" = "string"
"reportPrefix" = "string"
"reportType" = "string"
}]
}
}
var integrationAccountCcmConfigResource = new IntegrationAccountCcmConfig("integrationAccountCcmConfigResource", IntegrationAccountCcmConfigArgs.builder()
.awsAccountConfigId("string")
.ccmConfig(IntegrationAccountCcmConfigCcmConfigArgs.builder()
.dataExportConfigs(IntegrationAccountCcmConfigCcmConfigDataExportConfigArgs.builder()
.bucketName("string")
.bucketRegion("string")
.reportName("string")
.reportPrefix("string")
.reportType("string")
.build())
.build())
.build());
integration_account_ccm_config_resource = datadog.aws.IntegrationAccountCcmConfig("integrationAccountCcmConfigResource",
aws_account_config_id="string",
ccm_config={
"data_export_configs": [{
"bucket_name": "string",
"bucket_region": "string",
"report_name": "string",
"report_prefix": "string",
"report_type": "string",
}],
})
const integrationAccountCcmConfigResource = new datadog.aws.IntegrationAccountCcmConfig("integrationAccountCcmConfigResource", {
awsAccountConfigId: "string",
ccmConfig: {
dataExportConfigs: [{
bucketName: "string",
bucketRegion: "string",
reportName: "string",
reportPrefix: "string",
reportType: "string",
}],
},
});
type: datadog:aws:IntegrationAccountCcmConfig
properties:
awsAccountConfigId: string
ccmConfig:
dataExportConfigs:
- bucketName: string
bucketRegion: string
reportName: string
reportPrefix: string
reportType: string
IntegrationAccountCcmConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationAccountCcmConfig resource accepts the following input properties:
- Aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- Ccm
Config IntegrationAccount Ccm Config Ccm Config
- Aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- Ccm
Config IntegrationAccount Ccm Config Ccm Config Args
- aws_
account_ stringconfig_ id - Unique Datadog ID of the AWS Account Integration Config.
- ccm_
config object
- aws
Account StringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config IntegrationAccount Ccm Config Ccm Config
- aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config IntegrationAccount Ccm Config Ccm Config
- aws_
account_ strconfig_ id - Unique Datadog ID of the AWS Account Integration Config.
- ccm_
config IntegrationAccount Ccm Config Ccm Config Args
- aws
Account StringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccountCcmConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IntegrationAccountCcmConfig Resource
Get an existing IntegrationAccountCcmConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationAccountCcmConfigState, opts?: CustomResourceOptions): IntegrationAccountCcmConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_account_config_id: Optional[str] = None,
ccm_config: Optional[IntegrationAccountCcmConfigCcmConfigArgs] = None) -> IntegrationAccountCcmConfigfunc GetIntegrationAccountCcmConfig(ctx *Context, name string, id IDInput, state *IntegrationAccountCcmConfigState, opts ...ResourceOption) (*IntegrationAccountCcmConfig, error)public static IntegrationAccountCcmConfig Get(string name, Input<string> id, IntegrationAccountCcmConfigState? state, CustomResourceOptions? opts = null)public static IntegrationAccountCcmConfig get(String name, Output<String> id, IntegrationAccountCcmConfigState state, CustomResourceOptions options)resources: _: type: datadog:aws:IntegrationAccountCcmConfig get: id: ${id}import {
to = datadog_aws_integrationaccountccmconfig.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- Ccm
Config IntegrationAccount Ccm Config Ccm Config
- Aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- Ccm
Config IntegrationAccount Ccm Config Ccm Config Args
- aws_
account_ stringconfig_ id - Unique Datadog ID of the AWS Account Integration Config.
- ccm_
config object
- aws
Account StringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config IntegrationAccount Ccm Config Ccm Config
- aws
Account stringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config IntegrationAccount Ccm Config Ccm Config
- aws_
account_ strconfig_ id - Unique Datadog ID of the AWS Account Integration Config.
- ccm_
config IntegrationAccount Ccm Config Ccm Config Args
- aws
Account StringConfig Id - Unique Datadog ID of the AWS Account Integration Config.
- ccm
Config Property Map
Supporting Types
IntegrationAccountCcmConfigCcmConfig, IntegrationAccountCcmConfigCcmConfigArgs
IntegrationAccountCcmConfigCcmConfigDataExportConfig, IntegrationAccountCcmConfigCcmConfigDataExportConfigArgs
- Bucket
Name string - Name of the S3 bucket where the Cost and Usage Report is stored.
- Bucket
Region string - AWS region of the S3 bucket.
- Report
Name string - Name of the Cost and Usage Report.
- Report
Prefix string - S3 prefix where the Cost and Usage Report is stored.
- Report
Type string - Type of the Cost and Usage Report.
- Bucket
Name string - Name of the S3 bucket where the Cost and Usage Report is stored.
- Bucket
Region string - AWS region of the S3 bucket.
- Report
Name string - Name of the Cost and Usage Report.
- Report
Prefix string - S3 prefix where the Cost and Usage Report is stored.
- Report
Type string - Type of the Cost and Usage Report.
- bucket_
name string - Name of the S3 bucket where the Cost and Usage Report is stored.
- bucket_
region string - AWS region of the S3 bucket.
- report_
name string - Name of the Cost and Usage Report.
- report_
prefix string - S3 prefix where the Cost and Usage Report is stored.
- report_
type string - Type of the Cost and Usage Report.
- bucket
Name String - Name of the S3 bucket where the Cost and Usage Report is stored.
- bucket
Region String - AWS region of the S3 bucket.
- report
Name String - Name of the Cost and Usage Report.
- report
Prefix String - S3 prefix where the Cost and Usage Report is stored.
- report
Type String - Type of the Cost and Usage Report.
- bucket
Name string - Name of the S3 bucket where the Cost and Usage Report is stored.
- bucket
Region string - AWS region of the S3 bucket.
- report
Name string - Name of the Cost and Usage Report.
- report
Prefix string - S3 prefix where the Cost and Usage Report is stored.
- report
Type string - Type of the Cost and Usage Report.
- bucket_
name str - Name of the S3 bucket where the Cost and Usage Report is stored.
- bucket_
region str - AWS region of the S3 bucket.
- report_
name str - Name of the Cost and Usage Report.
- report_
prefix str - S3 prefix where the Cost and Usage Report is stored.
- report_
type str - Type of the Cost and Usage Report.
- bucket
Name String - Name of the S3 bucket where the Cost and Usage Report is stored.
- bucket
Region String - AWS region of the S3 bucket.
- report
Name String - Name of the Cost and Usage Report.
- report
Prefix String - S3 prefix where the Cost and Usage Report is stored.
- report
Type String - Type of the Cost and Usage Report.
Import
The pulumi import command can be used, for example:
$ pulumi import datadog:aws/integrationAccountCcmConfig:IntegrationAccountCcmConfig foo "<aws_account_config_id>"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
published on Thursday, Jun 18, 2026 by Pulumi