Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.Datadog.Aws
Assembly: Pulumi.Datadog.dll
Syntax
public class Integration : CustomResource
Constructors
View SourceIntegration(String, IntegrationArgs, CustomResourceOptions)
Create a Integration resource with the given unique name, arguments, and options.
Declaration
public Integration(string name, IntegrationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| IntegrationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountId
Your AWS Account ID without dashes.
Declaration
public Output<string> AccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccountSpecificNamespaceRules
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.
Declaration
public Output<ImmutableDictionary<string, object>> AccountSpecificNamespaceRules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
ExternalId
AWS External ID
Declaration
public Output<string> ExternalId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
FilterTags
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.
Declaration
public Output<ImmutableArray<string>> FilterTags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
HostTags
Array of tags (in the form key:value) to add to all hosts and metrics reporting through this integration.
Declaration
public Output<ImmutableArray<string>> HostTags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
RoleName
Your Datadog role delegation name.
Declaration
public Output<string> RoleName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, IntegrationState, CustomResourceOptions)
Get an existing Integration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Integration Get(string name, Input<string> id, IntegrationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| IntegrationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Integration |