datadog.aws.IntegrationTagFilter
Explore with Pulumi AI
!>This resource is deprecated - use the datadog.aws.IntegrationAccount
resource instead.
Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Create a new Datadog - Amazon Web Services integration tag filter
const foo = new datadog.aws.IntegrationTagFilter("foo", {
accountId: "123456789010",
namespace: "sqs",
tagFilterStr: "key:value",
});
import pulumi
import pulumi_datadog as datadog
# Create a new Datadog - Amazon Web Services integration tag filter
foo = datadog.aws.IntegrationTagFilter("foo",
account_id="123456789010",
namespace="sqs",
tag_filter_str="key:value")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new Datadog - Amazon Web Services integration tag filter
_, err := aws.NewIntegrationTagFilter(ctx, "foo", &aws.IntegrationTagFilterArgs{
AccountId: pulumi.String("123456789010"),
Namespace: pulumi.String("sqs"),
TagFilterStr: pulumi.String("key:value"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// Create a new Datadog - Amazon Web Services integration tag filter
var foo = new Datadog.Aws.IntegrationTagFilter("foo", new()
{
AccountId = "123456789010",
Namespace = "sqs",
TagFilterStr = "key:value",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.aws.IntegrationTagFilter;
import com.pulumi.datadog.aws.IntegrationTagFilterArgs;
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) {
// Create a new Datadog - Amazon Web Services integration tag filter
var foo = new IntegrationTagFilter("foo", IntegrationTagFilterArgs.builder()
.accountId("123456789010")
.namespace("sqs")
.tagFilterStr("key:value")
.build());
}
}
resources:
# Create a new Datadog - Amazon Web Services integration tag filter
foo:
type: datadog:aws:IntegrationTagFilter
properties:
accountId: '123456789010'
namespace: sqs
tagFilterStr: key:value
Create IntegrationTagFilter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationTagFilter(name: string, args: IntegrationTagFilterArgs, opts?: CustomResourceOptions);
@overload
def IntegrationTagFilter(resource_name: str,
args: IntegrationTagFilterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationTagFilter(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
namespace: Optional[str] = None,
tag_filter_str: Optional[str] = None)
func NewIntegrationTagFilter(ctx *Context, name string, args IntegrationTagFilterArgs, opts ...ResourceOption) (*IntegrationTagFilter, error)
public IntegrationTagFilter(string name, IntegrationTagFilterArgs args, CustomResourceOptions? opts = null)
public IntegrationTagFilter(String name, IntegrationTagFilterArgs args)
public IntegrationTagFilter(String name, IntegrationTagFilterArgs args, CustomResourceOptions options)
type: datadog:aws:IntegrationTagFilter
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 IntegrationTagFilterArgs
- 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 IntegrationTagFilterArgs
- 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 IntegrationTagFilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationTagFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationTagFilterArgs
- 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 integrationTagFilterResource = new Datadog.Aws.IntegrationTagFilter("integrationTagFilterResource", new()
{
AccountId = "string",
Namespace = "string",
TagFilterStr = "string",
});
example, err := aws.NewIntegrationTagFilter(ctx, "integrationTagFilterResource", &aws.IntegrationTagFilterArgs{
AccountId: pulumi.String("string"),
Namespace: pulumi.String("string"),
TagFilterStr: pulumi.String("string"),
})
var integrationTagFilterResource = new IntegrationTagFilter("integrationTagFilterResource", IntegrationTagFilterArgs.builder()
.accountId("string")
.namespace("string")
.tagFilterStr("string")
.build());
integration_tag_filter_resource = datadog.aws.IntegrationTagFilter("integrationTagFilterResource",
account_id="string",
namespace="string",
tag_filter_str="string")
const integrationTagFilterResource = new datadog.aws.IntegrationTagFilter("integrationTagFilterResource", {
accountId: "string",
namespace: "string",
tagFilterStr: "string",
});
type: datadog:aws:IntegrationTagFilter
properties:
accountId: string
namespace: string
tagFilterStr: string
IntegrationTagFilter 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 IntegrationTagFilter resource accepts the following input properties:
- Account
Id string - Your AWS Account ID without dashes.
- Namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - Tag
Filter stringStr - The tag filter string.
- Account
Id string - Your AWS Account ID without dashes.
- Namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - Tag
Filter stringStr - The tag filter string.
- account
Id String - Your AWS Account ID without dashes.
- namespace String
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter StringStr - The tag filter string.
- account
Id string - Your AWS Account ID without dashes.
- namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter stringStr - The tag filter string.
- account_
id str - Your AWS Account ID without dashes.
- namespace str
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag_
filter_ strstr - The tag filter string.
- account
Id String - Your AWS Account ID without dashes.
- namespace String
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter StringStr - The tag filter string.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationTagFilter 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 IntegrationTagFilter Resource
Get an existing IntegrationTagFilter 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?: IntegrationTagFilterState, opts?: CustomResourceOptions): IntegrationTagFilter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
namespace: Optional[str] = None,
tag_filter_str: Optional[str] = None) -> IntegrationTagFilter
func GetIntegrationTagFilter(ctx *Context, name string, id IDInput, state *IntegrationTagFilterState, opts ...ResourceOption) (*IntegrationTagFilter, error)
public static IntegrationTagFilter Get(string name, Input<string> id, IntegrationTagFilterState? state, CustomResourceOptions? opts = null)
public static IntegrationTagFilter get(String name, Output<String> id, IntegrationTagFilterState state, CustomResourceOptions options)
resources: _: type: datadog:aws:IntegrationTagFilter 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.
- Account
Id string - Your AWS Account ID without dashes.
- Namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - Tag
Filter stringStr - The tag filter string.
- Account
Id string - Your AWS Account ID without dashes.
- Namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - Tag
Filter stringStr - The tag filter string.
- account
Id String - Your AWS Account ID without dashes.
- namespace String
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter StringStr - The tag filter string.
- account
Id string - Your AWS Account ID without dashes.
- namespace string
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter stringStr - The tag filter string.
- account_
id str - Your AWS Account ID without dashes.
- namespace str
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag_
filter_ strstr - The tag filter string.
- account
Id String - Your AWS Account ID without dashes.
- namespace String
- The namespace associated with the tag filter entry. Valid values are
elb
,application_elb
,sqs
,rds
,custom
,network_elb
,lambda
,step_functions
. - tag
Filter StringStr - The tag filter string.
Import
Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).
$ pulumi import datadog:aws/integrationTagFilter:IntegrationTagFilter foo ${account_id}:${namespace}
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
datadog
Terraform Provider.