Integration
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
using Pulumi;
using Datadog = Pulumi.Datadog;
class MyStack : Stack
{
public MyStack()
{
// Create a new Datadog - Amazon Web Services integration
var sandbox = new Datadog.Aws.Integration("sandbox", new Datadog.Aws.IntegrationArgs
{
AccountId = "1234567890",
AccountSpecificNamespaceRules =
{
{ "auto_scaling", false },
{ "opsworks", false },
},
FilterTags =
{
"key:value",
},
HostTags =
{
"key:value",
"key2:value2",
},
RoleName = "DatadogAWSIntegrationRole",
});
}
}
Coming soon!
import pulumi
import pulumi_datadog as datadog
# Create a new Datadog - Amazon Web Services integration
sandbox = datadog.aws.Integration("sandbox",
account_id="1234567890",
account_specific_namespace_rules={
"auto_scaling": False,
"opsworks": False,
},
filter_tags=["key:value"],
host_tags=[
"key:value",
"key2:value2",
],
role_name="DatadogAWSIntegrationRole")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",
});Create a Integration Resource
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);def Integration(resource_name, opts=None, account_id=None, account_specific_namespace_rules=None, filter_tags=None, host_tags=None, role_name=None, __props__=None);func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Integration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Integration resource accepts the following input properties:
- Account
Id string Your AWS Account ID without dashes.
- Role
Name string Your Datadog role delegation name.
- Account
Specific Dictionary<string, object>Namespace Rules 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.
- List<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.- List<string>
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- Account
Id string Your AWS Account ID without dashes.
- Role
Name string Your Datadog role delegation name.
- Account
Specific map[string]interface{}Namespace Rules 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.
- []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.- []string
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- account
Id string Your AWS Account ID without dashes.
- role
Name string Your Datadog role delegation name.
- account
Specific {[key: string]: any}Namespace Rules 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.
- 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.- string[]
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- account_
id str Your AWS Account ID without dashes.
- role_
name str Your Datadog role delegation name.
- account_
specific_ Dict[str, Any]namespace_ rules 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.
- List[str]
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.- List[str]
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
Outputs
All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:
- External
Id string AWS External ID
- Id string
- The provider-assigned unique ID for this managed resource.
- External
Id string AWS External ID
- Id string
- The provider-assigned unique ID for this managed resource.
- external
Id string AWS External ID
- id string
- The provider-assigned unique ID for this managed resource.
- external_
id str AWS External ID
- id str
- The provider-assigned unique ID for this managed resource.
Look up an Existing Integration Resource
Get an existing Integration 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?: IntegrationState, opts?: CustomResourceOptions): Integrationstatic get(resource_name, id, opts=None, account_id=None, account_specific_namespace_rules=None, external_id=None, filter_tags=None, host_tags=None, role_name=None, __props__=None);func GetIntegration(ctx *Context, name string, id IDInput, state *IntegrationState, opts ...ResourceOption) (*Integration, error)public static Integration Get(string name, Input<string> id, IntegrationState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Account
Id string Your AWS Account ID without dashes.
- Account
Specific Dictionary<string, object>Namespace Rules 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.
- External
Id string AWS External ID
- List<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.- List<string>
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- Role
Name string Your Datadog role delegation name.
- Account
Id string Your AWS Account ID without dashes.
- Account
Specific map[string]interface{}Namespace Rules 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.
- External
Id string AWS External ID
- []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.- []string
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- Role
Name string Your Datadog role delegation name.
- account
Id string Your AWS Account ID without dashes.
- account
Specific {[key: string]: any}Namespace Rules 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.
- external
Id string AWS External ID
- 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.- string[]
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- role
Name string Your Datadog role delegation name.
- account_
id str Your AWS Account ID without dashes.
- account_
specific_ Dict[str, Any]namespace_ rules 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.
- external_
id str AWS External ID
- List[str]
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.- List[str]
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
- role_
name str Your Datadog role delegation name.
Package Details
- Repository
- https://github.com/pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.