aws

package
v3.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Integration

type Integration struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// 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](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
	AccountSpecificNamespaceRules pulumi.MapOutput `pulumi:"accountSpecificNamespaceRules"`
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayOutput `pulumi:"excludedRegions"`
	// AWS External ID. **NOTE** This provider will not be able to detect changes made to the `external_id` field from outside
	// Terraform.
	ExternalId pulumi.StringOutput `pulumi:"externalId"`
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
	FilterTags pulumi.StringArrayOutput `pulumi:"filterTags"`
	// Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
	HostTags pulumi.StringArrayOutput `pulumi:"hostTags"`
	// Your Datadog role delegation name.
	RoleName pulumi.StringOutput `pulumi:"roleName"`
}

Provides a Datadog - Amazon Web Services integration resource. This can be used to create and manage Datadog - Amazon Web Services integration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v3/go/datadog/aws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewIntegration(ctx, "sandbox", &aws.IntegrationArgs{
			AccountId: pulumi.String("1234567890"),
			AccountSpecificNamespaceRules: pulumi.BoolMap{
				"auto_scaling": pulumi.Bool(false),
				"opsworks":     pulumi.Bool(false),
			},
			ExcludedRegions: pulumi.StringArray{
				pulumi.String("us-east-1"),
				pulumi.String("us-west-2"),
			},
			FilterTags: pulumi.StringArray{
				pulumi.String("key:value"),
			},
			HostTags: pulumi.StringArray{
				pulumi.String("key:value"),
				pulumi.String("key2:value2"),
			},
			RoleName: pulumi.String("DatadogAWSIntegrationRole"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID

```sh

$ pulumi import datadog:aws/integration:Integration EXTERNAL_ID=${external_id} datadog_integration_aws.test ${account_id}:${role_name}

```

func GetIntegration

func GetIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationState, opts ...pulumi.ResourceOption) (*Integration, error)

GetIntegration gets an existing Integration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntegration

func NewIntegration(ctx *pulumi.Context,
	name string, args *IntegrationArgs, opts ...pulumi.ResourceOption) (*Integration, error)

NewIntegration registers a new resource with the given unique name, arguments, and options.

func (*Integration) ElementType

func (*Integration) ElementType() reflect.Type

func (*Integration) ToIntegrationOutput

func (i *Integration) ToIntegrationOutput() IntegrationOutput

func (*Integration) ToIntegrationOutputWithContext

func (i *Integration) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput

func (*Integration) ToIntegrationPtrOutput

func (i *Integration) ToIntegrationPtrOutput() IntegrationPtrOutput

func (*Integration) ToIntegrationPtrOutputWithContext

func (i *Integration) ToIntegrationPtrOutputWithContext(ctx context.Context) IntegrationPtrOutput

type IntegrationArgs

type IntegrationArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// 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](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
	AccountSpecificNamespaceRules pulumi.MapInput
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayInput
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
	FilterTags pulumi.StringArrayInput
	// Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
	HostTags pulumi.StringArrayInput
	// Your Datadog role delegation name.
	RoleName pulumi.StringInput
}

The set of arguments for constructing a Integration resource.

func (IntegrationArgs) ElementType

func (IntegrationArgs) ElementType() reflect.Type

type IntegrationArray

type IntegrationArray []IntegrationInput

func (IntegrationArray) ElementType

func (IntegrationArray) ElementType() reflect.Type

func (IntegrationArray) ToIntegrationArrayOutput

func (i IntegrationArray) ToIntegrationArrayOutput() IntegrationArrayOutput

func (IntegrationArray) ToIntegrationArrayOutputWithContext

func (i IntegrationArray) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput

type IntegrationArrayInput

type IntegrationArrayInput interface {
	pulumi.Input

	ToIntegrationArrayOutput() IntegrationArrayOutput
	ToIntegrationArrayOutputWithContext(context.Context) IntegrationArrayOutput
}

IntegrationArrayInput is an input type that accepts IntegrationArray and IntegrationArrayOutput values. You can construct a concrete instance of `IntegrationArrayInput` via:

IntegrationArray{ IntegrationArgs{...} }

type IntegrationArrayOutput

type IntegrationArrayOutput struct{ *pulumi.OutputState }

func (IntegrationArrayOutput) ElementType

func (IntegrationArrayOutput) ElementType() reflect.Type

func (IntegrationArrayOutput) Index

func (IntegrationArrayOutput) ToIntegrationArrayOutput

func (o IntegrationArrayOutput) ToIntegrationArrayOutput() IntegrationArrayOutput

func (IntegrationArrayOutput) ToIntegrationArrayOutputWithContext

func (o IntegrationArrayOutput) ToIntegrationArrayOutputWithContext(ctx context.Context) IntegrationArrayOutput

type IntegrationInput

type IntegrationInput interface {
	pulumi.Input

	ToIntegrationOutput() IntegrationOutput
	ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput
}

type IntegrationLambdaArn

type IntegrationLambdaArn struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The ARN of the Datadog forwarder Lambda.
	LambdaArn pulumi.StringOutput `pulumi:"lambdaArn"`
}

Provides a Datadog - Amazon Web Services integration Lambda ARN resource. This can be used to create and manage the log collection Lambdas for an account.

Update operations are currently not supported with datadog API so any change forces a new resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v3/go/datadog/aws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewIntegrationLambdaArn(ctx, "mainCollector", &aws.IntegrationLambdaArnArgs{
			AccountId: pulumi.String("1234567890"),
			LambdaArn: pulumi.String("arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `).

```sh

$ pulumi import datadog:aws/integrationLambdaArn:IntegrationLambdaArn test "1234567890 arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"

```

func GetIntegrationLambdaArn

func GetIntegrationLambdaArn(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationLambdaArnState, opts ...pulumi.ResourceOption) (*IntegrationLambdaArn, error)

GetIntegrationLambdaArn gets an existing IntegrationLambdaArn resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntegrationLambdaArn

func NewIntegrationLambdaArn(ctx *pulumi.Context,
	name string, args *IntegrationLambdaArnArgs, opts ...pulumi.ResourceOption) (*IntegrationLambdaArn, error)

NewIntegrationLambdaArn registers a new resource with the given unique name, arguments, and options.

func (*IntegrationLambdaArn) ElementType

func (*IntegrationLambdaArn) ElementType() reflect.Type

func (*IntegrationLambdaArn) ToIntegrationLambdaArnOutput

func (i *IntegrationLambdaArn) ToIntegrationLambdaArnOutput() IntegrationLambdaArnOutput

func (*IntegrationLambdaArn) ToIntegrationLambdaArnOutputWithContext

func (i *IntegrationLambdaArn) ToIntegrationLambdaArnOutputWithContext(ctx context.Context) IntegrationLambdaArnOutput

func (*IntegrationLambdaArn) ToIntegrationLambdaArnPtrOutput

func (i *IntegrationLambdaArn) ToIntegrationLambdaArnPtrOutput() IntegrationLambdaArnPtrOutput

func (*IntegrationLambdaArn) ToIntegrationLambdaArnPtrOutputWithContext

func (i *IntegrationLambdaArn) ToIntegrationLambdaArnPtrOutputWithContext(ctx context.Context) IntegrationLambdaArnPtrOutput

type IntegrationLambdaArnArgs

type IntegrationLambdaArnArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// The ARN of the Datadog forwarder Lambda.
	LambdaArn pulumi.StringInput
}

The set of arguments for constructing a IntegrationLambdaArn resource.

func (IntegrationLambdaArnArgs) ElementType

func (IntegrationLambdaArnArgs) ElementType() reflect.Type

type IntegrationLambdaArnArray

type IntegrationLambdaArnArray []IntegrationLambdaArnInput

func (IntegrationLambdaArnArray) ElementType

func (IntegrationLambdaArnArray) ElementType() reflect.Type

func (IntegrationLambdaArnArray) ToIntegrationLambdaArnArrayOutput

func (i IntegrationLambdaArnArray) ToIntegrationLambdaArnArrayOutput() IntegrationLambdaArnArrayOutput

func (IntegrationLambdaArnArray) ToIntegrationLambdaArnArrayOutputWithContext

func (i IntegrationLambdaArnArray) ToIntegrationLambdaArnArrayOutputWithContext(ctx context.Context) IntegrationLambdaArnArrayOutput

type IntegrationLambdaArnArrayInput

type IntegrationLambdaArnArrayInput interface {
	pulumi.Input

	ToIntegrationLambdaArnArrayOutput() IntegrationLambdaArnArrayOutput
	ToIntegrationLambdaArnArrayOutputWithContext(context.Context) IntegrationLambdaArnArrayOutput
}

IntegrationLambdaArnArrayInput is an input type that accepts IntegrationLambdaArnArray and IntegrationLambdaArnArrayOutput values. You can construct a concrete instance of `IntegrationLambdaArnArrayInput` via:

IntegrationLambdaArnArray{ IntegrationLambdaArnArgs{...} }

type IntegrationLambdaArnArrayOutput

type IntegrationLambdaArnArrayOutput struct{ *pulumi.OutputState }

func (IntegrationLambdaArnArrayOutput) ElementType

func (IntegrationLambdaArnArrayOutput) Index

func (IntegrationLambdaArnArrayOutput) ToIntegrationLambdaArnArrayOutput

func (o IntegrationLambdaArnArrayOutput) ToIntegrationLambdaArnArrayOutput() IntegrationLambdaArnArrayOutput

func (IntegrationLambdaArnArrayOutput) ToIntegrationLambdaArnArrayOutputWithContext

func (o IntegrationLambdaArnArrayOutput) ToIntegrationLambdaArnArrayOutputWithContext(ctx context.Context) IntegrationLambdaArnArrayOutput

type IntegrationLambdaArnInput

type IntegrationLambdaArnInput interface {
	pulumi.Input

	ToIntegrationLambdaArnOutput() IntegrationLambdaArnOutput
	ToIntegrationLambdaArnOutputWithContext(ctx context.Context) IntegrationLambdaArnOutput
}

type IntegrationLambdaArnMap

type IntegrationLambdaArnMap map[string]IntegrationLambdaArnInput

func (IntegrationLambdaArnMap) ElementType

func (IntegrationLambdaArnMap) ElementType() reflect.Type

func (IntegrationLambdaArnMap) ToIntegrationLambdaArnMapOutput

func (i IntegrationLambdaArnMap) ToIntegrationLambdaArnMapOutput() IntegrationLambdaArnMapOutput

func (IntegrationLambdaArnMap) ToIntegrationLambdaArnMapOutputWithContext

func (i IntegrationLambdaArnMap) ToIntegrationLambdaArnMapOutputWithContext(ctx context.Context) IntegrationLambdaArnMapOutput

type IntegrationLambdaArnMapInput

type IntegrationLambdaArnMapInput interface {
	pulumi.Input

	ToIntegrationLambdaArnMapOutput() IntegrationLambdaArnMapOutput
	ToIntegrationLambdaArnMapOutputWithContext(context.Context) IntegrationLambdaArnMapOutput
}

IntegrationLambdaArnMapInput is an input type that accepts IntegrationLambdaArnMap and IntegrationLambdaArnMapOutput values. You can construct a concrete instance of `IntegrationLambdaArnMapInput` via:

IntegrationLambdaArnMap{ "key": IntegrationLambdaArnArgs{...} }

type IntegrationLambdaArnMapOutput

type IntegrationLambdaArnMapOutput struct{ *pulumi.OutputState }

func (IntegrationLambdaArnMapOutput) ElementType

func (IntegrationLambdaArnMapOutput) MapIndex

func (IntegrationLambdaArnMapOutput) ToIntegrationLambdaArnMapOutput

func (o IntegrationLambdaArnMapOutput) ToIntegrationLambdaArnMapOutput() IntegrationLambdaArnMapOutput

func (IntegrationLambdaArnMapOutput) ToIntegrationLambdaArnMapOutputWithContext

func (o IntegrationLambdaArnMapOutput) ToIntegrationLambdaArnMapOutputWithContext(ctx context.Context) IntegrationLambdaArnMapOutput

type IntegrationLambdaArnOutput

type IntegrationLambdaArnOutput struct {
	*pulumi.OutputState
}

func (IntegrationLambdaArnOutput) ElementType

func (IntegrationLambdaArnOutput) ElementType() reflect.Type

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutput

func (o IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutput() IntegrationLambdaArnOutput

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutputWithContext

func (o IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutputWithContext(ctx context.Context) IntegrationLambdaArnOutput

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnPtrOutput

func (o IntegrationLambdaArnOutput) ToIntegrationLambdaArnPtrOutput() IntegrationLambdaArnPtrOutput

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnPtrOutputWithContext

func (o IntegrationLambdaArnOutput) ToIntegrationLambdaArnPtrOutputWithContext(ctx context.Context) IntegrationLambdaArnPtrOutput

type IntegrationLambdaArnPtrInput

type IntegrationLambdaArnPtrInput interface {
	pulumi.Input

	ToIntegrationLambdaArnPtrOutput() IntegrationLambdaArnPtrOutput
	ToIntegrationLambdaArnPtrOutputWithContext(ctx context.Context) IntegrationLambdaArnPtrOutput
}

type IntegrationLambdaArnPtrOutput

type IntegrationLambdaArnPtrOutput struct {
	*pulumi.OutputState
}

func (IntegrationLambdaArnPtrOutput) ElementType

func (IntegrationLambdaArnPtrOutput) ToIntegrationLambdaArnPtrOutput

func (o IntegrationLambdaArnPtrOutput) ToIntegrationLambdaArnPtrOutput() IntegrationLambdaArnPtrOutput

func (IntegrationLambdaArnPtrOutput) ToIntegrationLambdaArnPtrOutputWithContext

func (o IntegrationLambdaArnPtrOutput) ToIntegrationLambdaArnPtrOutputWithContext(ctx context.Context) IntegrationLambdaArnPtrOutput

type IntegrationLambdaArnState

type IntegrationLambdaArnState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// The ARN of the Datadog forwarder Lambda.
	LambdaArn pulumi.StringPtrInput
}

func (IntegrationLambdaArnState) ElementType

func (IntegrationLambdaArnState) ElementType() reflect.Type

type IntegrationLogCollection

type IntegrationLogCollection struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
	Services pulumi.StringArrayOutput `pulumi:"services"`
}

Provides a Datadog - Amazon Web Services integration log collection resource. This can be used to manage which AWS services logs are collected from for an account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v3/go/datadog/aws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewIntegrationLogCollection(ctx, "main", &aws.IntegrationLogCollectionArgs{
			AccountId: pulumi.String("1234567890"),
			Services: pulumi.StringArray{
				pulumi.String("lambda"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Amazon Web Services log collection integrations can be imported using the `account ID`.

```sh

$ pulumi import datadog:aws/integrationLogCollection:IntegrationLogCollection test 1234567890

```

func GetIntegrationLogCollection

func GetIntegrationLogCollection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationLogCollectionState, opts ...pulumi.ResourceOption) (*IntegrationLogCollection, error)

GetIntegrationLogCollection gets an existing IntegrationLogCollection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntegrationLogCollection

func NewIntegrationLogCollection(ctx *pulumi.Context,
	name string, args *IntegrationLogCollectionArgs, opts ...pulumi.ResourceOption) (*IntegrationLogCollection, error)

NewIntegrationLogCollection registers a new resource with the given unique name, arguments, and options.

func (*IntegrationLogCollection) ElementType

func (*IntegrationLogCollection) ElementType() reflect.Type

func (*IntegrationLogCollection) ToIntegrationLogCollectionOutput

func (i *IntegrationLogCollection) ToIntegrationLogCollectionOutput() IntegrationLogCollectionOutput

func (*IntegrationLogCollection) ToIntegrationLogCollectionOutputWithContext

func (i *IntegrationLogCollection) ToIntegrationLogCollectionOutputWithContext(ctx context.Context) IntegrationLogCollectionOutput

func (*IntegrationLogCollection) ToIntegrationLogCollectionPtrOutput

func (i *IntegrationLogCollection) ToIntegrationLogCollectionPtrOutput() IntegrationLogCollectionPtrOutput

func (*IntegrationLogCollection) ToIntegrationLogCollectionPtrOutputWithContext

func (i *IntegrationLogCollection) ToIntegrationLogCollectionPtrOutputWithContext(ctx context.Context) IntegrationLogCollectionPtrOutput

type IntegrationLogCollectionArgs

type IntegrationLogCollectionArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
	Services pulumi.StringArrayInput
}

The set of arguments for constructing a IntegrationLogCollection resource.

func (IntegrationLogCollectionArgs) ElementType

type IntegrationLogCollectionArray

type IntegrationLogCollectionArray []IntegrationLogCollectionInput

func (IntegrationLogCollectionArray) ElementType

func (IntegrationLogCollectionArray) ToIntegrationLogCollectionArrayOutput

func (i IntegrationLogCollectionArray) ToIntegrationLogCollectionArrayOutput() IntegrationLogCollectionArrayOutput

func (IntegrationLogCollectionArray) ToIntegrationLogCollectionArrayOutputWithContext

func (i IntegrationLogCollectionArray) ToIntegrationLogCollectionArrayOutputWithContext(ctx context.Context) IntegrationLogCollectionArrayOutput

type IntegrationLogCollectionArrayInput

type IntegrationLogCollectionArrayInput interface {
	pulumi.Input

	ToIntegrationLogCollectionArrayOutput() IntegrationLogCollectionArrayOutput
	ToIntegrationLogCollectionArrayOutputWithContext(context.Context) IntegrationLogCollectionArrayOutput
}

IntegrationLogCollectionArrayInput is an input type that accepts IntegrationLogCollectionArray and IntegrationLogCollectionArrayOutput values. You can construct a concrete instance of `IntegrationLogCollectionArrayInput` via:

IntegrationLogCollectionArray{ IntegrationLogCollectionArgs{...} }

type IntegrationLogCollectionArrayOutput

type IntegrationLogCollectionArrayOutput struct{ *pulumi.OutputState }

func (IntegrationLogCollectionArrayOutput) ElementType

func (IntegrationLogCollectionArrayOutput) Index

func (IntegrationLogCollectionArrayOutput) ToIntegrationLogCollectionArrayOutput

func (o IntegrationLogCollectionArrayOutput) ToIntegrationLogCollectionArrayOutput() IntegrationLogCollectionArrayOutput

func (IntegrationLogCollectionArrayOutput) ToIntegrationLogCollectionArrayOutputWithContext

func (o IntegrationLogCollectionArrayOutput) ToIntegrationLogCollectionArrayOutputWithContext(ctx context.Context) IntegrationLogCollectionArrayOutput

type IntegrationLogCollectionInput

type IntegrationLogCollectionInput interface {
	pulumi.Input

	ToIntegrationLogCollectionOutput() IntegrationLogCollectionOutput
	ToIntegrationLogCollectionOutputWithContext(ctx context.Context) IntegrationLogCollectionOutput
}

type IntegrationLogCollectionMap

type IntegrationLogCollectionMap map[string]IntegrationLogCollectionInput

func (IntegrationLogCollectionMap) ElementType

func (IntegrationLogCollectionMap) ToIntegrationLogCollectionMapOutput

func (i IntegrationLogCollectionMap) ToIntegrationLogCollectionMapOutput() IntegrationLogCollectionMapOutput

func (IntegrationLogCollectionMap) ToIntegrationLogCollectionMapOutputWithContext

func (i IntegrationLogCollectionMap) ToIntegrationLogCollectionMapOutputWithContext(ctx context.Context) IntegrationLogCollectionMapOutput

type IntegrationLogCollectionMapInput

type IntegrationLogCollectionMapInput interface {
	pulumi.Input

	ToIntegrationLogCollectionMapOutput() IntegrationLogCollectionMapOutput
	ToIntegrationLogCollectionMapOutputWithContext(context.Context) IntegrationLogCollectionMapOutput
}

IntegrationLogCollectionMapInput is an input type that accepts IntegrationLogCollectionMap and IntegrationLogCollectionMapOutput values. You can construct a concrete instance of `IntegrationLogCollectionMapInput` via:

IntegrationLogCollectionMap{ "key": IntegrationLogCollectionArgs{...} }

type IntegrationLogCollectionMapOutput

type IntegrationLogCollectionMapOutput struct{ *pulumi.OutputState }

func (IntegrationLogCollectionMapOutput) ElementType

func (IntegrationLogCollectionMapOutput) MapIndex

func (IntegrationLogCollectionMapOutput) ToIntegrationLogCollectionMapOutput

func (o IntegrationLogCollectionMapOutput) ToIntegrationLogCollectionMapOutput() IntegrationLogCollectionMapOutput

func (IntegrationLogCollectionMapOutput) ToIntegrationLogCollectionMapOutputWithContext

func (o IntegrationLogCollectionMapOutput) ToIntegrationLogCollectionMapOutputWithContext(ctx context.Context) IntegrationLogCollectionMapOutput

type IntegrationLogCollectionOutput

type IntegrationLogCollectionOutput struct {
	*pulumi.OutputState
}

func (IntegrationLogCollectionOutput) ElementType

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutput

func (o IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutput() IntegrationLogCollectionOutput

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutputWithContext

func (o IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutputWithContext(ctx context.Context) IntegrationLogCollectionOutput

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionPtrOutput

func (o IntegrationLogCollectionOutput) ToIntegrationLogCollectionPtrOutput() IntegrationLogCollectionPtrOutput

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionPtrOutputWithContext

func (o IntegrationLogCollectionOutput) ToIntegrationLogCollectionPtrOutputWithContext(ctx context.Context) IntegrationLogCollectionPtrOutput

type IntegrationLogCollectionPtrInput

type IntegrationLogCollectionPtrInput interface {
	pulumi.Input

	ToIntegrationLogCollectionPtrOutput() IntegrationLogCollectionPtrOutput
	ToIntegrationLogCollectionPtrOutputWithContext(ctx context.Context) IntegrationLogCollectionPtrOutput
}

type IntegrationLogCollectionPtrOutput

type IntegrationLogCollectionPtrOutput struct {
	*pulumi.OutputState
}

func (IntegrationLogCollectionPtrOutput) ElementType

func (IntegrationLogCollectionPtrOutput) ToIntegrationLogCollectionPtrOutput

func (o IntegrationLogCollectionPtrOutput) ToIntegrationLogCollectionPtrOutput() IntegrationLogCollectionPtrOutput

func (IntegrationLogCollectionPtrOutput) ToIntegrationLogCollectionPtrOutputWithContext

func (o IntegrationLogCollectionPtrOutput) ToIntegrationLogCollectionPtrOutputWithContext(ctx context.Context) IntegrationLogCollectionPtrOutput

type IntegrationLogCollectionState

type IntegrationLogCollectionState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
	Services pulumi.StringArrayInput
}

func (IntegrationLogCollectionState) ElementType

type IntegrationMap

type IntegrationMap map[string]IntegrationInput

func (IntegrationMap) ElementType

func (IntegrationMap) ElementType() reflect.Type

func (IntegrationMap) ToIntegrationMapOutput

func (i IntegrationMap) ToIntegrationMapOutput() IntegrationMapOutput

func (IntegrationMap) ToIntegrationMapOutputWithContext

func (i IntegrationMap) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput

type IntegrationMapInput

type IntegrationMapInput interface {
	pulumi.Input

	ToIntegrationMapOutput() IntegrationMapOutput
	ToIntegrationMapOutputWithContext(context.Context) IntegrationMapOutput
}

IntegrationMapInput is an input type that accepts IntegrationMap and IntegrationMapOutput values. You can construct a concrete instance of `IntegrationMapInput` via:

IntegrationMap{ "key": IntegrationArgs{...} }

type IntegrationMapOutput

type IntegrationMapOutput struct{ *pulumi.OutputState }

func (IntegrationMapOutput) ElementType

func (IntegrationMapOutput) ElementType() reflect.Type

func (IntegrationMapOutput) MapIndex

func (IntegrationMapOutput) ToIntegrationMapOutput

func (o IntegrationMapOutput) ToIntegrationMapOutput() IntegrationMapOutput

func (IntegrationMapOutput) ToIntegrationMapOutputWithContext

func (o IntegrationMapOutput) ToIntegrationMapOutputWithContext(ctx context.Context) IntegrationMapOutput

type IntegrationOutput

type IntegrationOutput struct {
	*pulumi.OutputState
}

func (IntegrationOutput) ElementType

func (IntegrationOutput) ElementType() reflect.Type

func (IntegrationOutput) ToIntegrationOutput

func (o IntegrationOutput) ToIntegrationOutput() IntegrationOutput

func (IntegrationOutput) ToIntegrationOutputWithContext

func (o IntegrationOutput) ToIntegrationOutputWithContext(ctx context.Context) IntegrationOutput

func (IntegrationOutput) ToIntegrationPtrOutput

func (o IntegrationOutput) ToIntegrationPtrOutput() IntegrationPtrOutput

func (IntegrationOutput) ToIntegrationPtrOutputWithContext

func (o IntegrationOutput) ToIntegrationPtrOutputWithContext(ctx context.Context) IntegrationPtrOutput

type IntegrationPtrInput

type IntegrationPtrInput interface {
	pulumi.Input

	ToIntegrationPtrOutput() IntegrationPtrOutput
	ToIntegrationPtrOutputWithContext(ctx context.Context) IntegrationPtrOutput
}

type IntegrationPtrOutput

type IntegrationPtrOutput struct {
	*pulumi.OutputState
}

func (IntegrationPtrOutput) ElementType

func (IntegrationPtrOutput) ElementType() reflect.Type

func (IntegrationPtrOutput) ToIntegrationPtrOutput

func (o IntegrationPtrOutput) ToIntegrationPtrOutput() IntegrationPtrOutput

func (IntegrationPtrOutput) ToIntegrationPtrOutputWithContext

func (o IntegrationPtrOutput) ToIntegrationPtrOutputWithContext(ctx context.Context) IntegrationPtrOutput

type IntegrationState

type IntegrationState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// 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](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
	AccountSpecificNamespaceRules pulumi.MapInput
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayInput
	// AWS External ID. **NOTE** This provider will not be able to detect changes made to the `external_id` field from outside
	// Terraform.
	ExternalId pulumi.StringPtrInput
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
	FilterTags pulumi.StringArrayInput
	// Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
	HostTags pulumi.StringArrayInput
	// Your Datadog role delegation name.
	RoleName pulumi.StringPtrInput
}

func (IntegrationState) ElementType

func (IntegrationState) ElementType() reflect.Type

type IntegrationTagFilter added in v3.1.0

type IntegrationTagFilter struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The namespace associated with the tag filter entry. Allowed enum values: 'elb', 'application*elb', 'sqs', 'rds', 'custom', 'network*elb,lambda'
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The tag filter string.
	TagFilterStr pulumi.StringOutput `pulumi:"tagFilterStr"`
}

Provides a Datadog AWS tag filter resource. This can be used to create and manage Datadog AWS tag filters - US site’s endpoint only

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-datadog/sdk/v3/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
	})
}

```

## Import

Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).

```sh

$ pulumi import datadog:aws/integrationTagFilter:IntegrationTagFilter foo ${account_id}:${namespace}

```

func GetIntegrationTagFilter added in v3.1.0

func GetIntegrationTagFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationTagFilterState, opts ...pulumi.ResourceOption) (*IntegrationTagFilter, error)

GetIntegrationTagFilter gets an existing IntegrationTagFilter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIntegrationTagFilter added in v3.1.0

func NewIntegrationTagFilter(ctx *pulumi.Context,
	name string, args *IntegrationTagFilterArgs, opts ...pulumi.ResourceOption) (*IntegrationTagFilter, error)

NewIntegrationTagFilter registers a new resource with the given unique name, arguments, and options.

func (*IntegrationTagFilter) ElementType added in v3.1.0

func (*IntegrationTagFilter) ElementType() reflect.Type

func (*IntegrationTagFilter) ToIntegrationTagFilterOutput added in v3.1.0

func (i *IntegrationTagFilter) ToIntegrationTagFilterOutput() IntegrationTagFilterOutput

func (*IntegrationTagFilter) ToIntegrationTagFilterOutputWithContext added in v3.1.0

func (i *IntegrationTagFilter) ToIntegrationTagFilterOutputWithContext(ctx context.Context) IntegrationTagFilterOutput

func (*IntegrationTagFilter) ToIntegrationTagFilterPtrOutput added in v3.1.0

func (i *IntegrationTagFilter) ToIntegrationTagFilterPtrOutput() IntegrationTagFilterPtrOutput

func (*IntegrationTagFilter) ToIntegrationTagFilterPtrOutputWithContext added in v3.1.0

func (i *IntegrationTagFilter) ToIntegrationTagFilterPtrOutputWithContext(ctx context.Context) IntegrationTagFilterPtrOutput

type IntegrationTagFilterArgs added in v3.1.0

type IntegrationTagFilterArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// The namespace associated with the tag filter entry. Allowed enum values: 'elb', 'application*elb', 'sqs', 'rds', 'custom', 'network*elb,lambda'
	Namespace pulumi.StringInput
	// The tag filter string.
	TagFilterStr pulumi.StringInput
}

The set of arguments for constructing a IntegrationTagFilter resource.

func (IntegrationTagFilterArgs) ElementType added in v3.1.0

func (IntegrationTagFilterArgs) ElementType() reflect.Type

type IntegrationTagFilterArray added in v3.1.0

type IntegrationTagFilterArray []IntegrationTagFilterInput

func (IntegrationTagFilterArray) ElementType added in v3.1.0

func (IntegrationTagFilterArray) ElementType() reflect.Type

func (IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutput added in v3.1.0

func (i IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutput() IntegrationTagFilterArrayOutput

func (IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutputWithContext added in v3.1.0

func (i IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutputWithContext(ctx context.Context) IntegrationTagFilterArrayOutput

type IntegrationTagFilterArrayInput added in v3.1.0

type IntegrationTagFilterArrayInput interface {
	pulumi.Input

	ToIntegrationTagFilterArrayOutput() IntegrationTagFilterArrayOutput
	ToIntegrationTagFilterArrayOutputWithContext(context.Context) IntegrationTagFilterArrayOutput
}

IntegrationTagFilterArrayInput is an input type that accepts IntegrationTagFilterArray and IntegrationTagFilterArrayOutput values. You can construct a concrete instance of `IntegrationTagFilterArrayInput` via:

IntegrationTagFilterArray{ IntegrationTagFilterArgs{...} }

type IntegrationTagFilterArrayOutput added in v3.1.0

type IntegrationTagFilterArrayOutput struct{ *pulumi.OutputState }

func (IntegrationTagFilterArrayOutput) ElementType added in v3.1.0

func (IntegrationTagFilterArrayOutput) Index added in v3.1.0

func (IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutput added in v3.1.0

func (o IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutput() IntegrationTagFilterArrayOutput

func (IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutputWithContext added in v3.1.0

func (o IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutputWithContext(ctx context.Context) IntegrationTagFilterArrayOutput

type IntegrationTagFilterInput added in v3.1.0

type IntegrationTagFilterInput interface {
	pulumi.Input

	ToIntegrationTagFilterOutput() IntegrationTagFilterOutput
	ToIntegrationTagFilterOutputWithContext(ctx context.Context) IntegrationTagFilterOutput
}

type IntegrationTagFilterMap added in v3.1.0

type IntegrationTagFilterMap map[string]IntegrationTagFilterInput

func (IntegrationTagFilterMap) ElementType added in v3.1.0

func (IntegrationTagFilterMap) ElementType() reflect.Type

func (IntegrationTagFilterMap) ToIntegrationTagFilterMapOutput added in v3.1.0

func (i IntegrationTagFilterMap) ToIntegrationTagFilterMapOutput() IntegrationTagFilterMapOutput

func (IntegrationTagFilterMap) ToIntegrationTagFilterMapOutputWithContext added in v3.1.0

func (i IntegrationTagFilterMap) ToIntegrationTagFilterMapOutputWithContext(ctx context.Context) IntegrationTagFilterMapOutput

type IntegrationTagFilterMapInput added in v3.1.0

type IntegrationTagFilterMapInput interface {
	pulumi.Input

	ToIntegrationTagFilterMapOutput() IntegrationTagFilterMapOutput
	ToIntegrationTagFilterMapOutputWithContext(context.Context) IntegrationTagFilterMapOutput
}

IntegrationTagFilterMapInput is an input type that accepts IntegrationTagFilterMap and IntegrationTagFilterMapOutput values. You can construct a concrete instance of `IntegrationTagFilterMapInput` via:

IntegrationTagFilterMap{ "key": IntegrationTagFilterArgs{...} }

type IntegrationTagFilterMapOutput added in v3.1.0

type IntegrationTagFilterMapOutput struct{ *pulumi.OutputState }

func (IntegrationTagFilterMapOutput) ElementType added in v3.1.0

func (IntegrationTagFilterMapOutput) MapIndex added in v3.1.0

func (IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutput added in v3.1.0

func (o IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutput() IntegrationTagFilterMapOutput

func (IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutputWithContext added in v3.1.0

func (o IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutputWithContext(ctx context.Context) IntegrationTagFilterMapOutput

type IntegrationTagFilterOutput added in v3.1.0

type IntegrationTagFilterOutput struct {
	*pulumi.OutputState
}

func (IntegrationTagFilterOutput) ElementType added in v3.1.0

func (IntegrationTagFilterOutput) ElementType() reflect.Type

func (IntegrationTagFilterOutput) ToIntegrationTagFilterOutput added in v3.1.0

func (o IntegrationTagFilterOutput) ToIntegrationTagFilterOutput() IntegrationTagFilterOutput

func (IntegrationTagFilterOutput) ToIntegrationTagFilterOutputWithContext added in v3.1.0

func (o IntegrationTagFilterOutput) ToIntegrationTagFilterOutputWithContext(ctx context.Context) IntegrationTagFilterOutput

func (IntegrationTagFilterOutput) ToIntegrationTagFilterPtrOutput added in v3.1.0

func (o IntegrationTagFilterOutput) ToIntegrationTagFilterPtrOutput() IntegrationTagFilterPtrOutput

func (IntegrationTagFilterOutput) ToIntegrationTagFilterPtrOutputWithContext added in v3.1.0

func (o IntegrationTagFilterOutput) ToIntegrationTagFilterPtrOutputWithContext(ctx context.Context) IntegrationTagFilterPtrOutput

type IntegrationTagFilterPtrInput added in v3.1.0

type IntegrationTagFilterPtrInput interface {
	pulumi.Input

	ToIntegrationTagFilterPtrOutput() IntegrationTagFilterPtrOutput
	ToIntegrationTagFilterPtrOutputWithContext(ctx context.Context) IntegrationTagFilterPtrOutput
}

type IntegrationTagFilterPtrOutput added in v3.1.0

type IntegrationTagFilterPtrOutput struct {
	*pulumi.OutputState
}

func (IntegrationTagFilterPtrOutput) ElementType added in v3.1.0

func (IntegrationTagFilterPtrOutput) ToIntegrationTagFilterPtrOutput added in v3.1.0

func (o IntegrationTagFilterPtrOutput) ToIntegrationTagFilterPtrOutput() IntegrationTagFilterPtrOutput

func (IntegrationTagFilterPtrOutput) ToIntegrationTagFilterPtrOutputWithContext added in v3.1.0

func (o IntegrationTagFilterPtrOutput) ToIntegrationTagFilterPtrOutputWithContext(ctx context.Context) IntegrationTagFilterPtrOutput

type IntegrationTagFilterState added in v3.1.0

type IntegrationTagFilterState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// The namespace associated with the tag filter entry. Allowed enum values: 'elb', 'application*elb', 'sqs', 'rds', 'custom', 'network*elb,lambda'
	Namespace pulumi.StringPtrInput
	// The tag filter string.
	TagFilterStr pulumi.StringPtrInput
}

func (IntegrationTagFilterState) ElementType added in v3.1.0

func (IntegrationTagFilterState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL