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:
- Cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - Aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - Azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - Gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- Cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - Aws
Cloud
Inventory Sync Config Aws Args - AWS-specific configuration. Required when cloud_provider is
aws. - Azure
Cloud
Inventory Sync Config Azure Args - Azure-specific configuration. Required when cloud_provider is
azure. - Gcp
Cloud
Inventory Sync Config Gcp Args - GCP-specific configuration. Required when cloud_provider is
gcp.
- cloud
Provider String - The cloud provider type. Valid values are
aws,azure,gcp. - aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- cloud_
provider str - The cloud provider type. Valid values are
aws,azure,gcp. - aws
Cloud
Inventory Sync Config Aws Args - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure Args - Azure-specific configuration. Required when cloud_provider is
azure. - gcp
Cloud
Inventory Sync Config Gcp Args - GCP-specific configuration. Required when cloud_provider is
gcp.
- cloud
Provider 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) -> CloudInventorySyncConfigfunc 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.
- Aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - Azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - Cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - Gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- Aws
Cloud
Inventory Sync Config Aws Args - AWS-specific configuration. Required when cloud_provider is
aws. - Azure
Cloud
Inventory Sync Config Azure Args - Azure-specific configuration. Required when cloud_provider is
azure. - Cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - Gcp
Cloud
Inventory Sync Config Gcp Args - GCP-specific configuration. Required when cloud_provider is
gcp.
- aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - cloud
Provider String - The cloud provider type. Valid values are
aws,azure,gcp. - gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- aws
Cloud
Inventory Sync Config Aws - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure - Azure-specific configuration. Required when cloud_provider is
azure. - cloud
Provider string - The cloud provider type. Valid values are
aws,azure,gcp. - gcp
Cloud
Inventory Sync Config Gcp - GCP-specific configuration. Required when cloud_provider is
gcp.
- aws
Cloud
Inventory Sync Config Aws Args - AWS-specific configuration. Required when cloud_provider is
aws. - azure
Cloud
Inventory Sync Config Azure Args - Azure-specific configuration. Required when cloud_provider is
azure. - cloud_
provider str - The cloud provider type. Valid values are
aws,azure,gcp. - gcp
Cloud
Inventory Sync Config Gcp Args - 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. - cloud
Provider 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
- Aws
Account stringId - AWS Account ID of the account holding the bucket.
- Destination
Bucket stringName - Name of the S3 bucket holding the inventory files.
- Destination
Bucket stringRegion - AWS Region of the bucket holding the inventory files.
- Destination
Prefix string - Prefix path within the bucket for inventory files.
- Aws
Account stringId - AWS Account ID of the account holding the bucket.
- Destination
Bucket stringName - Name of the S3 bucket holding the inventory files.
- Destination
Bucket stringRegion - AWS Region of the bucket holding the inventory files.
- Destination
Prefix string - Prefix path within the bucket for inventory files.
- aws
Account StringId - AWS Account ID of the account holding the bucket.
- destination
Bucket StringName - Name of the S3 bucket holding the inventory files.
- destination
Bucket StringRegion - AWS Region of the bucket holding the inventory files.
- destination
Prefix String - Prefix path within the bucket for inventory files.
- aws
Account stringId - AWS Account ID of the account holding the bucket.
- destination
Bucket stringName - Name of the S3 bucket holding the inventory files.
- destination
Bucket stringRegion - AWS Region of the bucket holding the inventory files.
- destination
Prefix string - Prefix path within the bucket for inventory files.
- aws_
account_ strid - AWS Account ID of the account holding the bucket.
- destination_
bucket_ strname - Name of the S3 bucket holding the inventory files.
- destination_
bucket_ strregion - AWS Region of the bucket holding the inventory files.
- destination_
prefix str - Prefix path within the bucket for inventory files.
- aws
Account StringId - AWS Account ID of the account holding the bucket.
- destination
Bucket StringName - Name of the S3 bucket holding the inventory files.
- destination
Bucket StringRegion - AWS Region of the bucket holding the inventory files.
- destination
Prefix String - Prefix path within the bucket for inventory files.
CloudInventorySyncConfigAzure, CloudInventorySyncConfigAzureArgs
- Client
Id string - Azure Client ID.
- Container string
- Azure Storage Container name.
- Resource
Group string - Azure Resource Group name.
- Storage
Account string - Azure Storage Account name.
- Subscription
Id string - Azure Subscription ID.
- Tenant
Id string - Azure Tenant ID.
- Client
Id string - Azure Client ID.
- Container string
- Azure Storage Container name.
- Resource
Group string - Azure Resource Group name.
- Storage
Account string - Azure Storage Account name.
- Subscription
Id string - Azure Subscription ID.
- Tenant
Id string - Azure Tenant ID.
- client
Id String - Azure Client ID.
- container String
- Azure Storage Container name.
- resource
Group String - Azure Resource Group name.
- storage
Account String - Azure Storage Account name.
- subscription
Id String - Azure Subscription ID.
- tenant
Id String - Azure Tenant ID.
- client
Id string - Azure Client ID.
- container string
- Azure Storage Container name.
- resource
Group string - Azure Resource Group name.
- storage
Account string - Azure Storage Account name.
- subscription
Id string - Azure Subscription ID.
- tenant
Id 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.
- client
Id String - Azure Client ID.
- container String
- Azure Storage Container name.
- resource
Group String - Azure Resource Group name.
- storage
Account String - Azure Storage Account name.
- subscription
Id String - Azure Subscription ID.
- tenant
Id String - Azure Tenant ID.
CloudInventorySyncConfigGcp, CloudInventorySyncConfigGcpArgs
- Destination
Bucket stringName - Name of the GCS bucket holding the inventory files.
- Project
Id string - GCP Project ID of the project holding the bucket.
- Service
Account stringEmail - Service account email used for reading the bucket.
- Source
Bucket stringName - Name of the source bucket the inventory report is generated for.
- Destination
Bucket stringName - Name of the GCS bucket holding the inventory files.
- Project
Id string - GCP Project ID of the project holding the bucket.
- Service
Account stringEmail - Service account email used for reading the bucket.
- Source
Bucket stringName - Name of the source bucket the inventory report is generated for.
- destination
Bucket StringName - Name of the GCS bucket holding the inventory files.
- project
Id String - GCP Project ID of the project holding the bucket.
- service
Account StringEmail - Service account email used for reading the bucket.
- source
Bucket StringName - Name of the source bucket the inventory report is generated for.
- destination
Bucket stringName - Name of the GCS bucket holding the inventory files.
- project
Id string - GCP Project ID of the project holding the bucket.
- service
Account stringEmail - Service account email used for reading the bucket.
- source
Bucket stringName - Name of the source bucket the inventory report is generated for.
- destination_
bucket_ strname - Name of the GCS bucket holding the inventory files.
- project_
id str - GCP Project ID of the project holding the bucket.
- service_
account_ stremail - Service account email used for reading the bucket.
- source_
bucket_ strname - Name of the source bucket the inventory report is generated for.
- destination
Bucket StringName - Name of the GCS bucket holding the inventory files.
- project
Id String - GCP Project ID of the project holding the bucket.
- service
Account StringEmail - Service account email used for reading the bucket.
- source
Bucket StringName - 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
datadogTerraform Provider.
