1. Packages
  2. Datadog
  3. API Docs
  4. aws
  5. IntegrationTagFilter
Datadog v4.22.0 published on Monday, Aug 28, 2023 by Pulumi

datadog.aws.IntegrationTagFilter

Explore with Pulumi AI

datadog logo
Datadog v4.22.0 published on Monday, Aug 28, 2023 by Pulumi

    Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters.

    Example Usage

    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 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 {
    		_, 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
    	})
    }
    
    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) {
            var foo = new IntegrationTagFilter("foo", IntegrationTagFilterArgs.builder()        
                .accountId("123456789010")
                .namespace("sqs")
                .tagFilterStr("key:value")
                .build());
    
        }
    }
    
    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")
    
    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",
    });
    
    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

    new IntegrationTagFilter(name: string, args: IntegrationTagFilterArgs, opts?: CustomResourceOptions);
    @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)
    @overload
    def IntegrationTagFilter(resource_name: str,
                             args: IntegrationTagFilterArgs,
                             opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The IntegrationTagFilter resource accepts the following input properties:

    AccountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    Namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    TagFilterStr string

    The tag filter string.

    AccountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    Namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    TagFilterStr string

    The tag filter string.

    accountId String

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace String

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr String

    The tag filter string.

    accountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr string

    The tag filter string.

    account_id str

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace str

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tag_filter_str str

    The tag filter string.

    accountId String

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace String

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr String

    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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AccountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    Namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    TagFilterStr string

    The tag filter string.

    AccountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    Namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    TagFilterStr string

    The tag filter string.

    accountId String

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace String

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr String

    The tag filter string.

    accountId string

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace string

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr string

    The tag filter string.

    account_id str

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace str

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tag_filter_str str

    The tag filter string.

    accountId String

    Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the access_key_id here.

    namespace String

    The namespace associated with the tag filter entry. Valid values are elb, application_elb, sqs, rds, custom, network_elb, lambda.

    tagFilterStr String

    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}
    

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the datadog Terraform Provider.

    datadog logo
    Datadog v4.22.0 published on Monday, Aug 28, 2023 by Pulumi