1. Packages
  2. Datadog Provider
  3. API Docs
  4. CloudInventorySyncConfig
Datadog v4.63.0 published on Thursday, Jan 22, 2026 by Pulumi
datadog logo
Datadog v4.63.0 published on Thursday, Jan 22, 2026 by Pulumi

    Provides a Datadog CloudInventorySyncConfig resource. This can be used to create and manage Datadog cloud_inventory_sync_config.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    // AWS Cloud Inventory Sync Config
    const awsExample = new datadog.CloudInventorySyncConfig("aws_example", {
        cloudProvider: "aws",
        aws: [{
            awsAccountId: "123456789012",
            destinationBucketName: "my-inventory-bucket",
            destinationBucketRegion: "us-east-1",
            destinationPrefix: "inventory/",
        }],
    });
    // Azure Cloud Inventory Sync Config
    const azureExample = new datadog.CloudInventorySyncConfig("azure_example", {
        cloudProvider: "azure",
        azure: [{
            clientId: "00000000-0000-0000-0000-000000000000",
            tenantId: "00000000-0000-0000-0000-000000000000",
            subscriptionId: "00000000-0000-0000-0000-000000000000",
            resourceGroup: "my-resource-group",
            storageAccount: "mystorageaccount",
            container: "inventory",
        }],
    });
    // GCP Cloud Inventory Sync Config
    const gcpExample = new datadog.CloudInventorySyncConfig("gcp_example", {
        cloudProvider: "gcp",
        gcp: [{
            projectId: "my-gcp-project",
            destinationBucketName: "my-inventory-bucket",
            sourceBucketName: "my-source-bucket",
            serviceAccountEmail: "sa@my-gcp-project.iam.gserviceaccount.com",
        }],
    });
    
    import pulumi
    import pulumi_datadog as datadog
    
    # AWS Cloud Inventory Sync Config
    aws_example = datadog.CloudInventorySyncConfig("aws_example",
        cloud_provider="aws",
        aws=[{
            "awsAccountId": "123456789012",
            "destinationBucketName": "my-inventory-bucket",
            "destinationBucketRegion": "us-east-1",
            "destinationPrefix": "inventory/",
        }])
    # Azure Cloud Inventory Sync Config
    azure_example = datadog.CloudInventorySyncConfig("azure_example",
        cloud_provider="azure",
        azure=[{
            "clientId": "00000000-0000-0000-0000-000000000000",
            "tenantId": "00000000-0000-0000-0000-000000000000",
            "subscriptionId": "00000000-0000-0000-0000-000000000000",
            "resourceGroup": "my-resource-group",
            "storageAccount": "mystorageaccount",
            "container": "inventory",
        }])
    # GCP Cloud Inventory Sync Config
    gcp_example = datadog.CloudInventorySyncConfig("gcp_example",
        cloud_provider="gcp",
        gcp=[{
            "projectId": "my-gcp-project",
            "destinationBucketName": "my-inventory-bucket",
            "sourceBucketName": "my-source-bucket",
            "serviceAccountEmail": "sa@my-gcp-project.iam.gserviceaccount.com",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// AWS Cloud Inventory Sync Config
    		_, err := datadog.NewCloudInventorySyncConfig(ctx, "aws_example", &datadog.CloudInventorySyncConfigArgs{
    			CloudProvider: pulumi.String("aws"),
    			Aws: datadog.CloudInventorySyncConfigAwsArgs{
    				map[string]interface{}{
    					"awsAccountId":            "123456789012",
    					"destinationBucketName":   "my-inventory-bucket",
    					"destinationBucketRegion": "us-east-1",
    					"destinationPrefix":       "inventory/",
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Azure Cloud Inventory Sync Config
    		_, err = datadog.NewCloudInventorySyncConfig(ctx, "azure_example", &datadog.CloudInventorySyncConfigArgs{
    			CloudProvider: pulumi.String("azure"),
    			Azure: datadog.CloudInventorySyncConfigAzureArgs{
    				map[string]interface{}{
    					"clientId":       "00000000-0000-0000-0000-000000000000",
    					"tenantId":       "00000000-0000-0000-0000-000000000000",
    					"subscriptionId": "00000000-0000-0000-0000-000000000000",
    					"resourceGroup":  "my-resource-group",
    					"storageAccount": "mystorageaccount",
    					"container":      "inventory",
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// GCP Cloud Inventory Sync Config
    		_, err = datadog.NewCloudInventorySyncConfig(ctx, "gcp_example", &datadog.CloudInventorySyncConfigArgs{
    			CloudProvider: pulumi.String("gcp"),
    			Gcp: datadog.CloudInventorySyncConfigGcpArgs{
    				map[string]interface{}{
    					"projectId":             "my-gcp-project",
    					"destinationBucketName": "my-inventory-bucket",
    					"sourceBucketName":      "my-source-bucket",
    					"serviceAccountEmail":   "sa@my-gcp-project.iam.gserviceaccount.com",
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        // AWS Cloud Inventory Sync Config
        var awsExample = new Datadog.CloudInventorySyncConfig("aws_example", new()
        {
            CloudProvider = "aws",
            Aws = new[]
            {
                
                {
                    { "awsAccountId", "123456789012" },
                    { "destinationBucketName", "my-inventory-bucket" },
                    { "destinationBucketRegion", "us-east-1" },
                    { "destinationPrefix", "inventory/" },
                },
            },
        });
    
        // Azure Cloud Inventory Sync Config
        var azureExample = new Datadog.CloudInventorySyncConfig("azure_example", new()
        {
            CloudProvider = "azure",
            Azure = new[]
            {
                
                {
                    { "clientId", "00000000-0000-0000-0000-000000000000" },
                    { "tenantId", "00000000-0000-0000-0000-000000000000" },
                    { "subscriptionId", "00000000-0000-0000-0000-000000000000" },
                    { "resourceGroup", "my-resource-group" },
                    { "storageAccount", "mystorageaccount" },
                    { "container", "inventory" },
                },
            },
        });
    
        // GCP Cloud Inventory Sync Config
        var gcpExample = new Datadog.CloudInventorySyncConfig("gcp_example", new()
        {
            CloudProvider = "gcp",
            Gcp = new[]
            {
                
                {
                    { "projectId", "my-gcp-project" },
                    { "destinationBucketName", "my-inventory-bucket" },
                    { "sourceBucketName", "my-source-bucket" },
                    { "serviceAccountEmail", "sa@my-gcp-project.iam.gserviceaccount.com" },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.CloudInventorySyncConfig;
    import com.pulumi.datadog.CloudInventorySyncConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // AWS Cloud Inventory Sync Config
            var awsExample = new CloudInventorySyncConfig("awsExample", CloudInventorySyncConfigArgs.builder()
                .cloudProvider("aws")
                .aws(CloudInventorySyncConfigAwsArgs.builder()
                    .awsAccountId("123456789012")
                    .destinationBucketName("my-inventory-bucket")
                    .destinationBucketRegion("us-east-1")
                    .destinationPrefix("inventory/")
                    .build())
                .build());
    
            // Azure Cloud Inventory Sync Config
            var azureExample = new CloudInventorySyncConfig("azureExample", CloudInventorySyncConfigArgs.builder()
                .cloudProvider("azure")
                .azure(CloudInventorySyncConfigAzureArgs.builder()
                    .clientId("00000000-0000-0000-0000-000000000000")
                    .tenantId("00000000-0000-0000-0000-000000000000")
                    .subscriptionId("00000000-0000-0000-0000-000000000000")
                    .resourceGroup("my-resource-group")
                    .storageAccount("mystorageaccount")
                    .container("inventory")
                    .build())
                .build());
    
            // GCP Cloud Inventory Sync Config
            var gcpExample = new CloudInventorySyncConfig("gcpExample", CloudInventorySyncConfigArgs.builder()
                .cloudProvider("gcp")
                .gcp(CloudInventorySyncConfigGcpArgs.builder()
                    .projectId("my-gcp-project")
                    .destinationBucketName("my-inventory-bucket")
                    .sourceBucketName("my-source-bucket")
                    .serviceAccountEmail("sa@my-gcp-project.iam.gserviceaccount.com")
                    .build())
                .build());
    
        }
    }
    
    resources:
      # AWS Cloud Inventory Sync Config
      awsExample:
        type: datadog:CloudInventorySyncConfig
        name: aws_example
        properties:
          cloudProvider: aws
          aws:
            - awsAccountId: '123456789012'
              destinationBucketName: my-inventory-bucket
              destinationBucketRegion: us-east-1
              destinationPrefix: inventory/
      # Azure Cloud Inventory Sync Config
      azureExample:
        type: datadog:CloudInventorySyncConfig
        name: azure_example
        properties:
          cloudProvider: azure
          azure:
            - clientId: 00000000-0000-0000-0000-000000000000
              tenantId: 00000000-0000-0000-0000-000000000000
              subscriptionId: 00000000-0000-0000-0000-000000000000
              resourceGroup: my-resource-group
              storageAccount: mystorageaccount
              container: inventory
      # GCP Cloud Inventory Sync Config
      gcpExample:
        type: datadog:CloudInventorySyncConfig
        name: gcp_example
        properties:
          cloudProvider: gcp
          gcp:
            - projectId: my-gcp-project
              destinationBucketName: my-inventory-bucket
              sourceBucketName: my-source-bucket
              serviceAccountEmail: sa@my-gcp-project.iam.gserviceaccount.com
    

    Create CloudInventorySyncConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudInventorySyncConfig(name: string, args: CloudInventorySyncConfigArgs, opts?: CustomResourceOptions);
    @overload
    def CloudInventorySyncConfig(resource_name: str,
                                 args: CloudInventorySyncConfigArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudInventorySyncConfig(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 cloud_provider: Optional[str] = None,
                                 aws: Optional[CloudInventorySyncConfigAwsArgs] = None,
                                 azure: Optional[CloudInventorySyncConfigAzureArgs] = None,
                                 gcp: Optional[CloudInventorySyncConfigGcpArgs] = None)
    func NewCloudInventorySyncConfig(ctx *Context, name string, args CloudInventorySyncConfigArgs, opts ...ResourceOption) (*CloudInventorySyncConfig, error)
    public CloudInventorySyncConfig(string name, CloudInventorySyncConfigArgs args, CustomResourceOptions? opts = null)
    public CloudInventorySyncConfig(String name, CloudInventorySyncConfigArgs args)
    public CloudInventorySyncConfig(String name, CloudInventorySyncConfigArgs args, CustomResourceOptions options)
    
    type: datadog:CloudInventorySyncConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudInventorySyncConfigArgs
    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 CloudInventorySyncConfigArgs
    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 CloudInventorySyncConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudInventorySyncConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudInventorySyncConfigArgs
    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 cloudInventorySyncConfigResource = new Datadog.CloudInventorySyncConfig("cloudInventorySyncConfigResource", new()
    {
        CloudProvider = "string",
        Aws = new Datadog.Inputs.CloudInventorySyncConfigAwsArgs
        {
            AwsAccountId = "string",
            DestinationBucketName = "string",
            DestinationBucketRegion = "string",
            DestinationPrefix = "string",
        },
        Azure = new Datadog.Inputs.CloudInventorySyncConfigAzureArgs
        {
            ClientId = "string",
            Container = "string",
            ResourceGroup = "string",
            StorageAccount = "string",
            SubscriptionId = "string",
            TenantId = "string",
        },
        Gcp = new Datadog.Inputs.CloudInventorySyncConfigGcpArgs
        {
            DestinationBucketName = "string",
            ProjectId = "string",
            ServiceAccountEmail = "string",
            SourceBucketName = "string",
        },
    });
    
    example, err := datadog.NewCloudInventorySyncConfig(ctx, "cloudInventorySyncConfigResource", &datadog.CloudInventorySyncConfigArgs{
    	CloudProvider: pulumi.String("string"),
    	Aws: &datadog.CloudInventorySyncConfigAwsArgs{
    		AwsAccountId:            pulumi.String("string"),
    		DestinationBucketName:   pulumi.String("string"),
    		DestinationBucketRegion: pulumi.String("string"),
    		DestinationPrefix:       pulumi.String("string"),
    	},
    	Azure: &datadog.CloudInventorySyncConfigAzureArgs{
    		ClientId:       pulumi.String("string"),
    		Container:      pulumi.String("string"),
    		ResourceGroup:  pulumi.String("string"),
    		StorageAccount: pulumi.String("string"),
    		SubscriptionId: pulumi.String("string"),
    		TenantId:       pulumi.String("string"),
    	},
    	Gcp: &datadog.CloudInventorySyncConfigGcpArgs{
    		DestinationBucketName: pulumi.String("string"),
    		ProjectId:             pulumi.String("string"),
    		ServiceAccountEmail:   pulumi.String("string"),
    		SourceBucketName:      pulumi.String("string"),
    	},
    })
    
    var cloudInventorySyncConfigResource = new CloudInventorySyncConfig("cloudInventorySyncConfigResource", CloudInventorySyncConfigArgs.builder()
        .cloudProvider("string")
        .aws(CloudInventorySyncConfigAwsArgs.builder()
            .awsAccountId("string")
            .destinationBucketName("string")
            .destinationBucketRegion("string")
            .destinationPrefix("string")
            .build())
        .azure(CloudInventorySyncConfigAzureArgs.builder()
            .clientId("string")
            .container("string")
            .resourceGroup("string")
            .storageAccount("string")
            .subscriptionId("string")
            .tenantId("string")
            .build())
        .gcp(CloudInventorySyncConfigGcpArgs.builder()
            .destinationBucketName("string")
            .projectId("string")
            .serviceAccountEmail("string")
            .sourceBucketName("string")
            .build())
        .build());
    
    cloud_inventory_sync_config_resource = datadog.CloudInventorySyncConfig("cloudInventorySyncConfigResource",
        cloud_provider="string",
        aws={
            "aws_account_id": "string",
            "destination_bucket_name": "string",
            "destination_bucket_region": "string",
            "destination_prefix": "string",
        },
        azure={
            "client_id": "string",
            "container": "string",
            "resource_group": "string",
            "storage_account": "string",
            "subscription_id": "string",
            "tenant_id": "string",
        },
        gcp={
            "destination_bucket_name": "string",
            "project_id": "string",
            "service_account_email": "string",
            "source_bucket_name": "string",
        })
    
    const cloudInventorySyncConfigResource = new datadog.CloudInventorySyncConfig("cloudInventorySyncConfigResource", {
        cloudProvider: "string",
        aws: {
            awsAccountId: "string",
            destinationBucketName: "string",
            destinationBucketRegion: "string",
            destinationPrefix: "string",
        },
        azure: {
            clientId: "string",
            container: "string",
            resourceGroup: "string",
            storageAccount: "string",
            subscriptionId: "string",
            tenantId: "string",
        },
        gcp: {
            destinationBucketName: "string",
            projectId: "string",
            serviceAccountEmail: "string",
            sourceBucketName: "string",
        },
    });
    
    type: datadog:CloudInventorySyncConfig
    properties:
        aws:
            awsAccountId: string
            destinationBucketName: string
            destinationBucketRegion: string
            destinationPrefix: string
        azure:
            clientId: string
            container: string
            resourceGroup: string
            storageAccount: string
            subscriptionId: string
            tenantId: string
        cloudProvider: string
        gcp:
            destinationBucketName: string
            projectId: string
            serviceAccountEmail: string
            sourceBucketName: string
    

    CloudInventorySyncConfig 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 CloudInventorySyncConfig resource accepts the following input properties:

    CloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    Aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    Azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    Gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    CloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    Aws CloudInventorySyncConfigAwsArgs
    AWS-specific configuration. Required when cloud_provider is aws.
    Azure CloudInventorySyncConfigAzureArgs
    Azure-specific configuration. Required when cloud_provider is azure.
    Gcp CloudInventorySyncConfigGcpArgs
    GCP-specific configuration. Required when cloud_provider is gcp.
    cloudProvider String
    The cloud provider type. Valid values are aws, azure, gcp.
    aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    cloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    cloud_provider str
    The cloud provider type. Valid values are aws, azure, gcp.
    aws CloudInventorySyncConfigAwsArgs
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzureArgs
    Azure-specific configuration. Required when cloud_provider is azure.
    gcp CloudInventorySyncConfigGcpArgs
    GCP-specific configuration. Required when cloud_provider is gcp.
    cloudProvider String
    The cloud provider type. Valid values are aws, azure, gcp.
    aws Property Map
    AWS-specific configuration. Required when cloud_provider is aws.
    azure Property Map
    Azure-specific configuration. Required when cloud_provider is azure.
    gcp Property Map
    GCP-specific configuration. Required when cloud_provider is gcp.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudInventorySyncConfig 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CloudInventorySyncConfig Resource

    Get an existing CloudInventorySyncConfig 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?: CloudInventorySyncConfigState, opts?: CustomResourceOptions): CloudInventorySyncConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws: Optional[CloudInventorySyncConfigAwsArgs] = None,
            azure: Optional[CloudInventorySyncConfigAzureArgs] = None,
            cloud_provider: Optional[str] = None,
            gcp: Optional[CloudInventorySyncConfigGcpArgs] = None) -> CloudInventorySyncConfig
    func GetCloudInventorySyncConfig(ctx *Context, name string, id IDInput, state *CloudInventorySyncConfigState, opts ...ResourceOption) (*CloudInventorySyncConfig, error)
    public static CloudInventorySyncConfig Get(string name, Input<string> id, CloudInventorySyncConfigState? state, CustomResourceOptions? opts = null)
    public static CloudInventorySyncConfig get(String name, Output<String> id, CloudInventorySyncConfigState state, CustomResourceOptions options)
    resources:  _:    type: datadog:CloudInventorySyncConfig    get:      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.
    The following state arguments are supported:
    Aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    Azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    CloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    Gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    Aws CloudInventorySyncConfigAwsArgs
    AWS-specific configuration. Required when cloud_provider is aws.
    Azure CloudInventorySyncConfigAzureArgs
    Azure-specific configuration. Required when cloud_provider is azure.
    CloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    Gcp CloudInventorySyncConfigGcpArgs
    GCP-specific configuration. Required when cloud_provider is gcp.
    aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    cloudProvider String
    The cloud provider type. Valid values are aws, azure, gcp.
    gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    aws CloudInventorySyncConfigAws
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzure
    Azure-specific configuration. Required when cloud_provider is azure.
    cloudProvider string
    The cloud provider type. Valid values are aws, azure, gcp.
    gcp CloudInventorySyncConfigGcp
    GCP-specific configuration. Required when cloud_provider is gcp.
    aws CloudInventorySyncConfigAwsArgs
    AWS-specific configuration. Required when cloud_provider is aws.
    azure CloudInventorySyncConfigAzureArgs
    Azure-specific configuration. Required when cloud_provider is azure.
    cloud_provider str
    The cloud provider type. Valid values are aws, azure, gcp.
    gcp CloudInventorySyncConfigGcpArgs
    GCP-specific configuration. Required when cloud_provider is gcp.
    aws Property Map
    AWS-specific configuration. Required when cloud_provider is aws.
    azure Property Map
    Azure-specific configuration. Required when cloud_provider is azure.
    cloudProvider String
    The cloud provider type. Valid values are aws, azure, gcp.
    gcp Property Map
    GCP-specific configuration. Required when cloud_provider is gcp.

    Supporting Types

    CloudInventorySyncConfigAws, CloudInventorySyncConfigAwsArgs

    AwsAccountId string
    AWS Account ID of the account holding the bucket.
    DestinationBucketName string
    Name of the S3 bucket holding the inventory files.
    DestinationBucketRegion string
    AWS Region of the bucket holding the inventory files.
    DestinationPrefix string
    Prefix path within the bucket for inventory files.
    AwsAccountId string
    AWS Account ID of the account holding the bucket.
    DestinationBucketName string
    Name of the S3 bucket holding the inventory files.
    DestinationBucketRegion string
    AWS Region of the bucket holding the inventory files.
    DestinationPrefix string
    Prefix path within the bucket for inventory files.
    awsAccountId String
    AWS Account ID of the account holding the bucket.
    destinationBucketName String
    Name of the S3 bucket holding the inventory files.
    destinationBucketRegion String
    AWS Region of the bucket holding the inventory files.
    destinationPrefix String
    Prefix path within the bucket for inventory files.
    awsAccountId string
    AWS Account ID of the account holding the bucket.
    destinationBucketName string
    Name of the S3 bucket holding the inventory files.
    destinationBucketRegion string
    AWS Region of the bucket holding the inventory files.
    destinationPrefix string
    Prefix path within the bucket for inventory files.
    aws_account_id str
    AWS Account ID of the account holding the bucket.
    destination_bucket_name str
    Name of the S3 bucket holding the inventory files.
    destination_bucket_region str
    AWS Region of the bucket holding the inventory files.
    destination_prefix str
    Prefix path within the bucket for inventory files.
    awsAccountId String
    AWS Account ID of the account holding the bucket.
    destinationBucketName String
    Name of the S3 bucket holding the inventory files.
    destinationBucketRegion String
    AWS Region of the bucket holding the inventory files.
    destinationPrefix String
    Prefix path within the bucket for inventory files.

    CloudInventorySyncConfigAzure, CloudInventorySyncConfigAzureArgs

    ClientId string
    Azure Client ID.
    Container string
    Azure Storage Container name.
    ResourceGroup string
    Azure Resource Group name.
    StorageAccount string
    Azure Storage Account name.
    SubscriptionId string
    Azure Subscription ID.
    TenantId string
    Azure Tenant ID.
    ClientId string
    Azure Client ID.
    Container string
    Azure Storage Container name.
    ResourceGroup string
    Azure Resource Group name.
    StorageAccount string
    Azure Storage Account name.
    SubscriptionId string
    Azure Subscription ID.
    TenantId string
    Azure Tenant ID.
    clientId String
    Azure Client ID.
    container String
    Azure Storage Container name.
    resourceGroup String
    Azure Resource Group name.
    storageAccount String
    Azure Storage Account name.
    subscriptionId String
    Azure Subscription ID.
    tenantId String
    Azure Tenant ID.
    clientId string
    Azure Client ID.
    container string
    Azure Storage Container name.
    resourceGroup string
    Azure Resource Group name.
    storageAccount string
    Azure Storage Account name.
    subscriptionId string
    Azure Subscription ID.
    tenantId string
    Azure Tenant ID.
    client_id str
    Azure Client ID.
    container str
    Azure Storage Container name.
    resource_group str
    Azure Resource Group name.
    storage_account str
    Azure Storage Account name.
    subscription_id str
    Azure Subscription ID.
    tenant_id str
    Azure Tenant ID.
    clientId String
    Azure Client ID.
    container String
    Azure Storage Container name.
    resourceGroup String
    Azure Resource Group name.
    storageAccount String
    Azure Storage Account name.
    subscriptionId String
    Azure Subscription ID.
    tenantId String
    Azure Tenant ID.

    CloudInventorySyncConfigGcp, CloudInventorySyncConfigGcpArgs

    DestinationBucketName string
    Name of the GCS bucket holding the inventory files.
    ProjectId string
    GCP Project ID of the project holding the bucket.
    ServiceAccountEmail string
    Service account email used for reading the bucket.
    SourceBucketName string
    Name of the source bucket the inventory report is generated for.
    DestinationBucketName string
    Name of the GCS bucket holding the inventory files.
    ProjectId string
    GCP Project ID of the project holding the bucket.
    ServiceAccountEmail string
    Service account email used for reading the bucket.
    SourceBucketName string
    Name of the source bucket the inventory report is generated for.
    destinationBucketName String
    Name of the GCS bucket holding the inventory files.
    projectId String
    GCP Project ID of the project holding the bucket.
    serviceAccountEmail String
    Service account email used for reading the bucket.
    sourceBucketName String
    Name of the source bucket the inventory report is generated for.
    destinationBucketName string
    Name of the GCS bucket holding the inventory files.
    projectId string
    GCP Project ID of the project holding the bucket.
    serviceAccountEmail string
    Service account email used for reading the bucket.
    sourceBucketName string
    Name of the source bucket the inventory report is generated for.
    destination_bucket_name str
    Name of the GCS bucket holding the inventory files.
    project_id str
    GCP Project ID of the project holding the bucket.
    service_account_email str
    Service account email used for reading the bucket.
    source_bucket_name str
    Name of the source bucket the inventory report is generated for.
    destinationBucketName String
    Name of the GCS bucket holding the inventory files.
    projectId String
    GCP Project ID of the project holding the bucket.
    serviceAccountEmail String
    Service account email used for reading the bucket.
    sourceBucketName String
    Name of the source bucket the inventory report is generated for.

    Import

    The pulumi import command can be used, for example:

    Import using the sync config ID returned by the API

    $ pulumi import datadog:index/cloudInventorySyncConfig:CloudInventorySyncConfig example "<sync-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 datadog Terraform Provider.
    datadog logo
    Datadog v4.63.0 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate