aws

package
v4.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 GetIntegrationLogsServicesAwsLogsService added in v4.14.0

type GetIntegrationLogsServicesAwsLogsService struct {
	// The id of the AWS log service.
	Id string `pulumi:"id"`
	// The name of the AWS log service.
	Label string `pulumi:"label"`
}

type GetIntegrationLogsServicesAwsLogsServiceArgs added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceArgs struct {
	// The id of the AWS log service.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the AWS log service.
	Label pulumi.StringInput `pulumi:"label"`
}

func (GetIntegrationLogsServicesAwsLogsServiceArgs) ElementType added in v4.14.0

func (GetIntegrationLogsServicesAwsLogsServiceArgs) ToGetIntegrationLogsServicesAwsLogsServiceOutput added in v4.14.0

func (i GetIntegrationLogsServicesAwsLogsServiceArgs) ToGetIntegrationLogsServicesAwsLogsServiceOutput() GetIntegrationLogsServicesAwsLogsServiceOutput

func (GetIntegrationLogsServicesAwsLogsServiceArgs) ToGetIntegrationLogsServicesAwsLogsServiceOutputWithContext added in v4.14.0

func (i GetIntegrationLogsServicesAwsLogsServiceArgs) ToGetIntegrationLogsServicesAwsLogsServiceOutputWithContext(ctx context.Context) GetIntegrationLogsServicesAwsLogsServiceOutput

type GetIntegrationLogsServicesAwsLogsServiceArray added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceArray []GetIntegrationLogsServicesAwsLogsServiceInput

func (GetIntegrationLogsServicesAwsLogsServiceArray) ElementType added in v4.14.0

func (GetIntegrationLogsServicesAwsLogsServiceArray) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutput added in v4.14.0

func (i GetIntegrationLogsServicesAwsLogsServiceArray) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutput() GetIntegrationLogsServicesAwsLogsServiceArrayOutput

func (GetIntegrationLogsServicesAwsLogsServiceArray) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutputWithContext added in v4.14.0

func (i GetIntegrationLogsServicesAwsLogsServiceArray) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutputWithContext(ctx context.Context) GetIntegrationLogsServicesAwsLogsServiceArrayOutput

type GetIntegrationLogsServicesAwsLogsServiceArrayInput added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceArrayInput interface {
	pulumi.Input

	ToGetIntegrationLogsServicesAwsLogsServiceArrayOutput() GetIntegrationLogsServicesAwsLogsServiceArrayOutput
	ToGetIntegrationLogsServicesAwsLogsServiceArrayOutputWithContext(context.Context) GetIntegrationLogsServicesAwsLogsServiceArrayOutput
}

GetIntegrationLogsServicesAwsLogsServiceArrayInput is an input type that accepts GetIntegrationLogsServicesAwsLogsServiceArray and GetIntegrationLogsServicesAwsLogsServiceArrayOutput values. You can construct a concrete instance of `GetIntegrationLogsServicesAwsLogsServiceArrayInput` via:

GetIntegrationLogsServicesAwsLogsServiceArray{ GetIntegrationLogsServicesAwsLogsServiceArgs{...} }

type GetIntegrationLogsServicesAwsLogsServiceArrayOutput added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceArrayOutput struct{ *pulumi.OutputState }

func (GetIntegrationLogsServicesAwsLogsServiceArrayOutput) ElementType added in v4.14.0

func (GetIntegrationLogsServicesAwsLogsServiceArrayOutput) Index added in v4.14.0

func (GetIntegrationLogsServicesAwsLogsServiceArrayOutput) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutput added in v4.14.0

func (o GetIntegrationLogsServicesAwsLogsServiceArrayOutput) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutput() GetIntegrationLogsServicesAwsLogsServiceArrayOutput

func (GetIntegrationLogsServicesAwsLogsServiceArrayOutput) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutputWithContext added in v4.14.0

func (o GetIntegrationLogsServicesAwsLogsServiceArrayOutput) ToGetIntegrationLogsServicesAwsLogsServiceArrayOutputWithContext(ctx context.Context) GetIntegrationLogsServicesAwsLogsServiceArrayOutput

type GetIntegrationLogsServicesAwsLogsServiceInput added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceInput interface {
	pulumi.Input

	ToGetIntegrationLogsServicesAwsLogsServiceOutput() GetIntegrationLogsServicesAwsLogsServiceOutput
	ToGetIntegrationLogsServicesAwsLogsServiceOutputWithContext(context.Context) GetIntegrationLogsServicesAwsLogsServiceOutput
}

GetIntegrationLogsServicesAwsLogsServiceInput is an input type that accepts GetIntegrationLogsServicesAwsLogsServiceArgs and GetIntegrationLogsServicesAwsLogsServiceOutput values. You can construct a concrete instance of `GetIntegrationLogsServicesAwsLogsServiceInput` via:

GetIntegrationLogsServicesAwsLogsServiceArgs{...}

type GetIntegrationLogsServicesAwsLogsServiceOutput added in v4.14.0

type GetIntegrationLogsServicesAwsLogsServiceOutput struct{ *pulumi.OutputState }

func (GetIntegrationLogsServicesAwsLogsServiceOutput) ElementType added in v4.14.0

func (GetIntegrationLogsServicesAwsLogsServiceOutput) Id added in v4.14.0

The id of the AWS log service.

func (GetIntegrationLogsServicesAwsLogsServiceOutput) Label added in v4.14.0

The name of the AWS log service.

func (GetIntegrationLogsServicesAwsLogsServiceOutput) ToGetIntegrationLogsServicesAwsLogsServiceOutput added in v4.14.0

func (o GetIntegrationLogsServicesAwsLogsServiceOutput) ToGetIntegrationLogsServicesAwsLogsServiceOutput() GetIntegrationLogsServicesAwsLogsServiceOutput

func (GetIntegrationLogsServicesAwsLogsServiceOutput) ToGetIntegrationLogsServicesAwsLogsServiceOutputWithContext added in v4.14.0

func (o GetIntegrationLogsServicesAwsLogsServiceOutput) ToGetIntegrationLogsServicesAwsLogsServiceOutputWithContext(ctx context.Context) GetIntegrationLogsServicesAwsLogsServiceOutput

type GetIntegrationLogsServicesResult added in v4.14.0

type GetIntegrationLogsServicesResult struct {
	// List of AWS log ready services.
	AwsLogsServices []GetIntegrationLogsServicesAwsLogsService `pulumi:"awsLogsServices"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
}

A collection of values returned by getIntegrationLogsServices.

func GetIntegrationLogsServices added in v4.14.0

func GetIntegrationLogsServices(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIntegrationLogsServicesResult, error)

Use this data source to retrieve all AWS log ready services.

type GetIntegrationLogsServicesResultOutput added in v4.23.1

type GetIntegrationLogsServicesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIntegrationLogsServices.

func GetIntegrationLogsServicesOutput added in v4.23.1

func GetIntegrationLogsServicesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIntegrationLogsServicesResultOutput

func (GetIntegrationLogsServicesResultOutput) AwsLogsServices added in v4.23.1

List of AWS log ready services.

func (GetIntegrationLogsServicesResultOutput) ElementType added in v4.23.1

func (GetIntegrationLogsServicesResultOutput) Id added in v4.23.1

The provider-assigned unique ID for this managed resource.

func (GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutput added in v4.23.1

func (o GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutput() GetIntegrationLogsServicesResultOutput

func (GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutputWithContext added in v4.23.1

func (o GetIntegrationLogsServicesResultOutput) ToGetIntegrationLogsServicesResultOutputWithContext(ctx context.Context) GetIntegrationLogsServicesResultOutput

type GetIntegrationNamespaceRulesResult added in v4.19.0

type GetIntegrationNamespaceRulesResult struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// The list of available namespace rules for a Datadog-AWS integration.
	NamespaceRules []string `pulumi:"namespaceRules"`
}

A collection of values returned by getIntegrationNamespaceRules.

func GetIntegrationNamespaceRules added in v4.19.0

func GetIntegrationNamespaceRules(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIntegrationNamespaceRulesResult, error)

Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration.

## Example Usage

```go 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.GetIntegrationNamespaceRules(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetIntegrationNamespaceRulesResultOutput added in v4.23.1

type GetIntegrationNamespaceRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIntegrationNamespaceRules.

func GetIntegrationNamespaceRulesOutput added in v4.23.1

func GetIntegrationNamespaceRulesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIntegrationNamespaceRulesResultOutput

func (GetIntegrationNamespaceRulesResultOutput) ElementType added in v4.23.1

func (GetIntegrationNamespaceRulesResultOutput) Id added in v4.23.1

The ID of this resource.

func (GetIntegrationNamespaceRulesResultOutput) NamespaceRules added in v4.23.1

The list of available namespace rules for a Datadog-AWS integration.

func (GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutput added in v4.23.1

func (o GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutput() GetIntegrationNamespaceRulesResultOutput

func (GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutputWithContext added in v4.23.1

func (o GetIntegrationNamespaceRulesResultOutput) ToGetIntegrationNamespaceRulesResultOutputWithContext(ctx context.Context) GetIntegrationNamespaceRulesResultOutput

type Integration

type Integration struct {
	pulumi.CustomResourceState

	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"`
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrOutput `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"`
	// Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
	CspmResourceCollectionEnabled pulumi.StringOutput `pulumi:"cspmResourceCollectionEnabled"`
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayOutput `pulumi:"excludedRegions"`
	// Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
	ExtendedResourceCollectionEnabled pulumi.StringOutput `pulumi:"extendedResourceCollectionEnabled"`
	// 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"`
	// Whether Datadog collects metrics for this AWS account.
	MetricsCollectionEnabled pulumi.StringOutput `pulumi:"metricsCollectionEnabled"`
	// Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
	//
	// Deprecated: Deprecated in favor of `extendedResourceCollectionEnabled`.
	ResourceCollectionEnabled pulumi.StringOutput `pulumi:"resourceCollectionEnabled"`
	// Your Datadog role delegation name.
	RoleName pulumi.StringPtrOutput `pulumi:"roleName"`
	// Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
	SecretAccessKey pulumi.StringPtrOutput `pulumi:"secretAccessKey"`
}

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/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
		_, err := aws.NewIntegration(ctx, "sandbox", &aws.IntegrationArgs{
			AccountId: pulumi.String("1234567890"),
			RoleName:  pulumi.String("DatadogAWSIntegrationRole"),
			FilterTags: pulumi.StringArray{
				pulumi.String("key:value"),
			},
			HostTags: pulumi.StringArray{
				pulumi.String("key:value"),
				pulumi.String("key2:value2"),
			},
			AccountSpecificNamespaceRules: pulumi.Map{
				"auto_scaling": pulumi.Any(false),
				"opsworks":     pulumi.Any(false),
			},
			ExcludedRegions: pulumi.StringArray{
				pulumi.String("us-east-1"),
				pulumi.String("us-west-2"),
			},
		})
		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

type IntegrationArgs

type IntegrationArgs struct {
	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	AccessKeyId pulumi.StringPtrInput
	// 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
	// Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
	CspmResourceCollectionEnabled pulumi.StringPtrInput
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayInput
	// Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
	ExtendedResourceCollectionEnabled 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
	// Whether Datadog collects metrics for this AWS account.
	MetricsCollectionEnabled pulumi.StringPtrInput
	// Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
	//
	// Deprecated: Deprecated in favor of `extendedResourceCollectionEnabled`.
	ResourceCollectionEnabled pulumi.StringPtrInput
	// Your Datadog role delegation name.
	RoleName pulumi.StringPtrInput
	// Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
	SecretAccessKey pulumi.StringPtrInput
}

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 IntegrationEventBridge added in v4.24.0

type IntegrationEventBridge struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`.
	CreateEventBus pulumi.BoolOutput `pulumi:"createEventBus"`
	// The given part of the event source name, which is then combined with an assigned suffix to form the full name.
	EventGeneratorName pulumi.StringOutput `pulumi:"eventGeneratorName"`
	// The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
	Region pulumi.StringOutput `pulumi:"region"`
}

Provides a Datadog - Amazon Web Services integration EventBridge resource. This can be used to create and manage Event Sources for each Datadog integrated AWS account.

## Example Usage

```go 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 new integration_aws_event_bridge resource
		_, err := aws.NewIntegrationEventBridge(ctx, "foo", &aws.IntegrationEventBridgeArgs{
			AccountId:          pulumi.String("123456789012"),
			CreateEventBus:     pulumi.Bool(true),
			EventGeneratorName: pulumi.String("app-alerts"),
			Region:             pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Amazon Web Service EventBridge integrations are imported using the Event Source name as listed for an integrated AWS account in Datadog

```sh $ pulumi import datadog:aws/integrationEventBridge:IntegrationEventBridge foo event-source-name-abc12345 ```

func GetIntegrationEventBridge added in v4.24.0

func GetIntegrationEventBridge(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationEventBridgeState, opts ...pulumi.ResourceOption) (*IntegrationEventBridge, error)

GetIntegrationEventBridge gets an existing IntegrationEventBridge 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 NewIntegrationEventBridge added in v4.24.0

func NewIntegrationEventBridge(ctx *pulumi.Context,
	name string, args *IntegrationEventBridgeArgs, opts ...pulumi.ResourceOption) (*IntegrationEventBridge, error)

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

func (*IntegrationEventBridge) ElementType added in v4.24.0

func (*IntegrationEventBridge) ElementType() reflect.Type

func (*IntegrationEventBridge) ToIntegrationEventBridgeOutput added in v4.24.0

func (i *IntegrationEventBridge) ToIntegrationEventBridgeOutput() IntegrationEventBridgeOutput

func (*IntegrationEventBridge) ToIntegrationEventBridgeOutputWithContext added in v4.24.0

func (i *IntegrationEventBridge) ToIntegrationEventBridgeOutputWithContext(ctx context.Context) IntegrationEventBridgeOutput

type IntegrationEventBridgeArgs added in v4.24.0

type IntegrationEventBridgeArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`.
	CreateEventBus pulumi.BoolPtrInput
	// The given part of the event source name, which is then combined with an assigned suffix to form the full name.
	EventGeneratorName pulumi.StringInput
	// The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
	Region pulumi.StringInput
}

The set of arguments for constructing a IntegrationEventBridge resource.

func (IntegrationEventBridgeArgs) ElementType added in v4.24.0

func (IntegrationEventBridgeArgs) ElementType() reflect.Type

type IntegrationEventBridgeArray added in v4.24.0

type IntegrationEventBridgeArray []IntegrationEventBridgeInput

func (IntegrationEventBridgeArray) ElementType added in v4.24.0

func (IntegrationEventBridgeArray) ToIntegrationEventBridgeArrayOutput added in v4.24.0

func (i IntegrationEventBridgeArray) ToIntegrationEventBridgeArrayOutput() IntegrationEventBridgeArrayOutput

func (IntegrationEventBridgeArray) ToIntegrationEventBridgeArrayOutputWithContext added in v4.24.0

func (i IntegrationEventBridgeArray) ToIntegrationEventBridgeArrayOutputWithContext(ctx context.Context) IntegrationEventBridgeArrayOutput

type IntegrationEventBridgeArrayInput added in v4.24.0

type IntegrationEventBridgeArrayInput interface {
	pulumi.Input

	ToIntegrationEventBridgeArrayOutput() IntegrationEventBridgeArrayOutput
	ToIntegrationEventBridgeArrayOutputWithContext(context.Context) IntegrationEventBridgeArrayOutput
}

IntegrationEventBridgeArrayInput is an input type that accepts IntegrationEventBridgeArray and IntegrationEventBridgeArrayOutput values. You can construct a concrete instance of `IntegrationEventBridgeArrayInput` via:

IntegrationEventBridgeArray{ IntegrationEventBridgeArgs{...} }

type IntegrationEventBridgeArrayOutput added in v4.24.0

type IntegrationEventBridgeArrayOutput struct{ *pulumi.OutputState }

func (IntegrationEventBridgeArrayOutput) ElementType added in v4.24.0

func (IntegrationEventBridgeArrayOutput) Index added in v4.24.0

func (IntegrationEventBridgeArrayOutput) ToIntegrationEventBridgeArrayOutput added in v4.24.0

func (o IntegrationEventBridgeArrayOutput) ToIntegrationEventBridgeArrayOutput() IntegrationEventBridgeArrayOutput

func (IntegrationEventBridgeArrayOutput) ToIntegrationEventBridgeArrayOutputWithContext added in v4.24.0

func (o IntegrationEventBridgeArrayOutput) ToIntegrationEventBridgeArrayOutputWithContext(ctx context.Context) IntegrationEventBridgeArrayOutput

type IntegrationEventBridgeInput added in v4.24.0

type IntegrationEventBridgeInput interface {
	pulumi.Input

	ToIntegrationEventBridgeOutput() IntegrationEventBridgeOutput
	ToIntegrationEventBridgeOutputWithContext(ctx context.Context) IntegrationEventBridgeOutput
}

type IntegrationEventBridgeMap added in v4.24.0

type IntegrationEventBridgeMap map[string]IntegrationEventBridgeInput

func (IntegrationEventBridgeMap) ElementType added in v4.24.0

func (IntegrationEventBridgeMap) ElementType() reflect.Type

func (IntegrationEventBridgeMap) ToIntegrationEventBridgeMapOutput added in v4.24.0

func (i IntegrationEventBridgeMap) ToIntegrationEventBridgeMapOutput() IntegrationEventBridgeMapOutput

func (IntegrationEventBridgeMap) ToIntegrationEventBridgeMapOutputWithContext added in v4.24.0

func (i IntegrationEventBridgeMap) ToIntegrationEventBridgeMapOutputWithContext(ctx context.Context) IntegrationEventBridgeMapOutput

type IntegrationEventBridgeMapInput added in v4.24.0

type IntegrationEventBridgeMapInput interface {
	pulumi.Input

	ToIntegrationEventBridgeMapOutput() IntegrationEventBridgeMapOutput
	ToIntegrationEventBridgeMapOutputWithContext(context.Context) IntegrationEventBridgeMapOutput
}

IntegrationEventBridgeMapInput is an input type that accepts IntegrationEventBridgeMap and IntegrationEventBridgeMapOutput values. You can construct a concrete instance of `IntegrationEventBridgeMapInput` via:

IntegrationEventBridgeMap{ "key": IntegrationEventBridgeArgs{...} }

type IntegrationEventBridgeMapOutput added in v4.24.0

type IntegrationEventBridgeMapOutput struct{ *pulumi.OutputState }

func (IntegrationEventBridgeMapOutput) ElementType added in v4.24.0

func (IntegrationEventBridgeMapOutput) MapIndex added in v4.24.0

func (IntegrationEventBridgeMapOutput) ToIntegrationEventBridgeMapOutput added in v4.24.0

func (o IntegrationEventBridgeMapOutput) ToIntegrationEventBridgeMapOutput() IntegrationEventBridgeMapOutput

func (IntegrationEventBridgeMapOutput) ToIntegrationEventBridgeMapOutputWithContext added in v4.24.0

func (o IntegrationEventBridgeMapOutput) ToIntegrationEventBridgeMapOutputWithContext(ctx context.Context) IntegrationEventBridgeMapOutput

type IntegrationEventBridgeOutput added in v4.24.0

type IntegrationEventBridgeOutput struct{ *pulumi.OutputState }

func (IntegrationEventBridgeOutput) AccountId added in v4.24.0

Your AWS Account ID without dashes.

func (IntegrationEventBridgeOutput) CreateEventBus added in v4.24.0

func (o IntegrationEventBridgeOutput) CreateEventBus() pulumi.BoolOutput

True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`.

func (IntegrationEventBridgeOutput) ElementType added in v4.24.0

func (IntegrationEventBridgeOutput) EventGeneratorName added in v4.24.0

func (o IntegrationEventBridgeOutput) EventGeneratorName() pulumi.StringOutput

The given part of the event source name, which is then combined with an assigned suffix to form the full name.

func (IntegrationEventBridgeOutput) Region added in v4.24.0

The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).

func (IntegrationEventBridgeOutput) ToIntegrationEventBridgeOutput added in v4.24.0

func (o IntegrationEventBridgeOutput) ToIntegrationEventBridgeOutput() IntegrationEventBridgeOutput

func (IntegrationEventBridgeOutput) ToIntegrationEventBridgeOutputWithContext added in v4.24.0

func (o IntegrationEventBridgeOutput) ToIntegrationEventBridgeOutputWithContext(ctx context.Context) IntegrationEventBridgeOutput

type IntegrationEventBridgeState added in v4.24.0

type IntegrationEventBridgeState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission. Defaults to `true`.
	CreateEventBus pulumi.BoolPtrInput
	// The given part of the event source name, which is then combined with an assigned suffix to form the full name.
	EventGeneratorName pulumi.StringPtrInput
	// The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
	Region pulumi.StringPtrInput
}

func (IntegrationEventBridgeState) ElementType added in v4.24.0

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/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 Lambda ARN
		_, err := aws.NewIntegrationLambdaArn(ctx, "main_collector", &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

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) AccountId added in v4.9.0

Your AWS Account ID without dashes.

func (IntegrationLambdaArnOutput) ElementType

func (IntegrationLambdaArnOutput) ElementType() reflect.Type

func (IntegrationLambdaArnOutput) LambdaArn added in v4.9.0

The ARN of the Datadog forwarder Lambda.

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutput

func (o IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutput() IntegrationLambdaArnOutput

func (IntegrationLambdaArnOutput) ToIntegrationLambdaArnOutputWithContext

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

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/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 log collection
		_, 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

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) AccountId added in v4.9.0

Your AWS Account ID without dashes.

func (IntegrationLogCollectionOutput) ElementType

func (IntegrationLogCollectionOutput) Services added in v4.9.0

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.

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutput

func (o IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutput() IntegrationLogCollectionOutput

func (IntegrationLogCollectionOutput) ToIntegrationLogCollectionOutputWithContext

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

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) AccessKeyId added in v4.9.0

func (o IntegrationOutput) AccessKeyId() pulumi.StringPtrOutput

Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.

func (IntegrationOutput) AccountId added in v4.9.0

Your AWS Account ID without dashes.

func (IntegrationOutput) AccountSpecificNamespaceRules added in v4.9.0

func (o IntegrationOutput) AccountSpecificNamespaceRules() pulumi.MapOutput

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).

func (IntegrationOutput) CspmResourceCollectionEnabled added in v4.9.0

func (o IntegrationOutput) CspmResourceCollectionEnabled() pulumi.StringOutput

Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.

func (IntegrationOutput) ElementType

func (IntegrationOutput) ElementType() reflect.Type

func (IntegrationOutput) ExcludedRegions added in v4.9.0

func (o IntegrationOutput) ExcludedRegions() pulumi.StringArrayOutput

An array of AWS regions to exclude from metrics collection.

func (IntegrationOutput) ExtendedResourceCollectionEnabled added in v4.28.0

func (o IntegrationOutput) ExtendedResourceCollectionEnabled() pulumi.StringOutput

Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.

func (IntegrationOutput) ExternalId added in v4.9.0

func (o IntegrationOutput) ExternalId() pulumi.StringOutput

AWS External ID. **NOTE** This provider will not be able to detect changes made to the `external_id` field from outside Terraform.

func (IntegrationOutput) FilterTags added in v4.9.0

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`.

func (IntegrationOutput) HostTags added in v4.9.0

Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.

func (IntegrationOutput) MetricsCollectionEnabled added in v4.9.0

func (o IntegrationOutput) MetricsCollectionEnabled() pulumi.StringOutput

Whether Datadog collects metrics for this AWS account.

func (IntegrationOutput) ResourceCollectionEnabled deprecated added in v4.9.0

func (o IntegrationOutput) ResourceCollectionEnabled() pulumi.StringOutput

Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.

Deprecated: Deprecated in favor of `extendedResourceCollectionEnabled`.

func (IntegrationOutput) RoleName added in v4.9.0

Your Datadog role delegation name.

func (IntegrationOutput) SecretAccessKey added in v4.9.0

func (o IntegrationOutput) SecretAccessKey() pulumi.StringPtrOutput

Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.

func (IntegrationOutput) ToIntegrationOutput

func (o IntegrationOutput) ToIntegrationOutput() IntegrationOutput

func (IntegrationOutput) ToIntegrationOutputWithContext

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

type IntegrationState

type IntegrationState struct {
	// Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
	AccessKeyId pulumi.StringPtrInput
	// 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
	// Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
	CspmResourceCollectionEnabled pulumi.StringPtrInput
	// An array of AWS regions to exclude from metrics collection.
	ExcludedRegions pulumi.StringArrayInput
	// Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
	ExtendedResourceCollectionEnabled pulumi.StringPtrInput
	// 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
	// Whether Datadog collects metrics for this AWS account.
	MetricsCollectionEnabled pulumi.StringPtrInput
	// Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
	//
	// Deprecated: Deprecated in favor of `extendedResourceCollectionEnabled`.
	ResourceCollectionEnabled pulumi.StringPtrInput
	// Your Datadog role delegation name.
	RoleName pulumi.StringPtrInput
	// Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
	SecretAccessKey pulumi.StringPtrInput
}

func (IntegrationState) ElementType

func (IntegrationState) ElementType() reflect.Type

type IntegrationTagFilter

type IntegrationTagFilter struct {
	pulumi.CustomResourceState

	// Your AWS Account ID without dashes.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `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.

## Example Usage

```go 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
	})
}

```

## 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

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

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

func (*IntegrationTagFilter) ElementType() reflect.Type

func (*IntegrationTagFilter) ToIntegrationTagFilterOutput

func (i *IntegrationTagFilter) ToIntegrationTagFilterOutput() IntegrationTagFilterOutput

func (*IntegrationTagFilter) ToIntegrationTagFilterOutputWithContext

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

type IntegrationTagFilterArgs

type IntegrationTagFilterArgs struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringInput
	// The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
	Namespace pulumi.StringInput
	// The tag filter string.
	TagFilterStr pulumi.StringInput
}

The set of arguments for constructing a IntegrationTagFilter resource.

func (IntegrationTagFilterArgs) ElementType

func (IntegrationTagFilterArgs) ElementType() reflect.Type

type IntegrationTagFilterArray

type IntegrationTagFilterArray []IntegrationTagFilterInput

func (IntegrationTagFilterArray) ElementType

func (IntegrationTagFilterArray) ElementType() reflect.Type

func (IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutput

func (i IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutput() IntegrationTagFilterArrayOutput

func (IntegrationTagFilterArray) ToIntegrationTagFilterArrayOutputWithContext

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

type IntegrationTagFilterArrayInput

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

type IntegrationTagFilterArrayOutput struct{ *pulumi.OutputState }

func (IntegrationTagFilterArrayOutput) ElementType

func (IntegrationTagFilterArrayOutput) Index

func (IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutput

func (o IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutput() IntegrationTagFilterArrayOutput

func (IntegrationTagFilterArrayOutput) ToIntegrationTagFilterArrayOutputWithContext

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

type IntegrationTagFilterInput

type IntegrationTagFilterInput interface {
	pulumi.Input

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

type IntegrationTagFilterMap

type IntegrationTagFilterMap map[string]IntegrationTagFilterInput

func (IntegrationTagFilterMap) ElementType

func (IntegrationTagFilterMap) ElementType() reflect.Type

func (IntegrationTagFilterMap) ToIntegrationTagFilterMapOutput

func (i IntegrationTagFilterMap) ToIntegrationTagFilterMapOutput() IntegrationTagFilterMapOutput

func (IntegrationTagFilterMap) ToIntegrationTagFilterMapOutputWithContext

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

type IntegrationTagFilterMapInput

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

type IntegrationTagFilterMapOutput struct{ *pulumi.OutputState }

func (IntegrationTagFilterMapOutput) ElementType

func (IntegrationTagFilterMapOutput) MapIndex

func (IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutput

func (o IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutput() IntegrationTagFilterMapOutput

func (IntegrationTagFilterMapOutput) ToIntegrationTagFilterMapOutputWithContext

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

type IntegrationTagFilterOutput

type IntegrationTagFilterOutput struct{ *pulumi.OutputState }

func (IntegrationTagFilterOutput) AccountId added in v4.9.0

Your AWS Account ID without dashes.

func (IntegrationTagFilterOutput) ElementType

func (IntegrationTagFilterOutput) ElementType() reflect.Type

func (IntegrationTagFilterOutput) Namespace added in v4.9.0

The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.

func (IntegrationTagFilterOutput) TagFilterStr added in v4.9.0

The tag filter string.

func (IntegrationTagFilterOutput) ToIntegrationTagFilterOutput

func (o IntegrationTagFilterOutput) ToIntegrationTagFilterOutput() IntegrationTagFilterOutput

func (IntegrationTagFilterOutput) ToIntegrationTagFilterOutputWithContext

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

type IntegrationTagFilterState

type IntegrationTagFilterState struct {
	// Your AWS Account ID without dashes.
	AccountId pulumi.StringPtrInput
	// The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
	Namespace pulumi.StringPtrInput
	// The tag filter string.
	TagFilterStr pulumi.StringPtrInput
}

func (IntegrationTagFilterState) ElementType

func (IntegrationTagFilterState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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