Module aws
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-datadogrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-datadogrepo.
Resources
Others
Resources
Resource Integration
class Integration extends CustomResourceProvides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration.
Update operations are currently not supported with datadog API so any change forces a new resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Create a new Datadog - Amazon Web Services integration
const sandbox = new datadog.aws.Integration("sandbox", {
accountId: "1234567890",
accountSpecificNamespaceRules: {
auto_scaling: false,
opsworks: false,
},
filterTags: ["key:value"],
hostTags: [
"key:value",
"key2:value2",
],
roleName: "DatadogAWSIntegrationRole",
});constructor
new Integration(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions)Create a Integration resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IntegrationState, opts?: pulumi.CustomResourceOptions): IntegrationGet an existing Integration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is IntegrationReturns true if the given object is an instance of Integration. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property accountId
public accountId: pulumi.Output<string>;Your AWS Account ID without dashes.
property accountSpecificNamespaceRules
public accountSpecificNamespaceRules: pulumi.Output<{[key: string]: any} | undefined>;Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the available namespace rules API endpoint.
property externalId
public externalId: pulumi.Output<string>;AWS External ID
property filterTags
public filterTags: pulumi.Output<string[] | undefined>;Array of EC2 tags (in the form key:value) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as ? (for single characters) and * (for multiple characters) can also be used.
property hostTags
public hostTags: pulumi.Output<string[] | undefined>;Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property roleName
public roleName: pulumi.Output<string>;Your Datadog role delegation name.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface IntegrationArgs
interface IntegrationArgsThe set of arguments for constructing a Integration resource.
property accountId
accountId: pulumi.Input<string>;Your AWS Account ID without dashes.
property accountSpecificNamespaceRules
accountSpecificNamespaceRules?: pulumi.Input<{[key: string]: any}>;Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the available namespace rules API endpoint.
property filterTags
filterTags?: pulumi.Input<pulumi.Input<string>[]>;Array of EC2 tags (in the form key:value) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as ? (for single characters) and * (for multiple characters) can also be used.
property hostTags
hostTags?: pulumi.Input<pulumi.Input<string>[]>;Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
property roleName
roleName: pulumi.Input<string>;Your Datadog role delegation name.
interface IntegrationState
interface IntegrationStateInput properties used for looking up and filtering Integration resources.
property accountId
accountId?: pulumi.Input<string>;Your AWS Account ID without dashes.
property accountSpecificNamespaceRules
accountSpecificNamespaceRules?: pulumi.Input<{[key: string]: any}>;Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the available namespace rules API endpoint.
property externalId
externalId?: pulumi.Input<string>;AWS External ID
property filterTags
filterTags?: pulumi.Input<pulumi.Input<string>[]>;Array of EC2 tags (in the form key:value) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as ? (for single characters) and * (for multiple characters) can also be used.
property hostTags
hostTags?: pulumi.Input<pulumi.Input<string>[]>;Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
property roleName
roleName?: pulumi.Input<string>;Your Datadog role delegation name.