aws

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 3 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://api.datadoghq.com/api/v1/integration/aws/available_namespace_rules).
	AccountSpecificNamespaceRules pulumi.MapOutput `pulumi:"accountSpecificNamespaceRules"`
	// AWS External ID
	ExternalId pulumi.StringOutput `pulumi:"externalId"`
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used.
	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.

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

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.

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://api.datadoghq.com/api/v1/integration/aws/available_namespace_rules).
	AccountSpecificNamespaceRules pulumi.MapInput
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used.
	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 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://api.datadoghq.com/api/v1/integration/aws/available_namespace_rules).
	AccountSpecificNamespaceRules pulumi.MapInput
	// AWS External ID
	ExternalId pulumi.StringPtrInput
	// Array of EC2 tags (in the form `key:value`) defines a filter that Datadog use when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used.
	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

Jump to

Keyboard shortcuts

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