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-datadog repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-datadog repo.

Resources

Others

Resources

Resource Integration

class Integration extends CustomResource

Provides 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",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-datadog/blob/master/website/docs/r/integration_aws.html.markdown.

constructor

new Integration(name: string, args: IntegrationArgs, opts?: pulumi.CustomResourceOptions)

Create a Integration resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A 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): Integration

Get 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 | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns 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]: boolean} | 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 IntegrationArgs

The 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]: pulumi.Input<boolean>}>;

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 IntegrationState

Input 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]: pulumi.Input<boolean>}>;

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.