guardduty

package
v6.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 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 Detector

type Detector struct {
	pulumi.CustomResourceState

	// The AWS account ID of the GuardDuty detector
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Amazon Resource Name (ARN) of the GuardDuty detector
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.DetectorFeature` resources.
	Datasources DetectorDatasourcesOutput `pulumi:"datasources"`
	// Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.
	Enable pulumi.BoolPtrOutput `pulumi:"enable"`
	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in this provider to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.
	FindingPublishingFrequency pulumi.StringOutput `pulumi:"findingPublishingFrequency"`
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage an Amazon GuardDuty detector.

> **NOTE:** Deleting this resource is equivalent to "disabling" GuardDuty for an AWS region, which removes all existing findings. You can set the `enable` attribute to `false` to instead "suspend" monitoring and feedback reporting while keeping existing data. See the [Suspending or Disabling Amazon GuardDuty documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_suspend-disable.html) for more information.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := guardduty.NewDetector(ctx, "myDetector", &guardduty.DetectorArgs{
			Datasources: &guardduty.DetectorDatasourcesArgs{
				Kubernetes: &guardduty.DetectorDatasourcesKubernetesArgs{
					AuditLogs: &guardduty.DetectorDatasourcesKubernetesAuditLogsArgs{
						Enable: pulumi.Bool(false),
					},
				},
				MalwareProtection: &guardduty.DetectorDatasourcesMalwareProtectionArgs{
					ScanEc2InstanceWithFindings: &guardduty.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{
						EbsVolumes: &guardduty.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{
							Enable: pulumi.Bool(true),
						},
					},
				},
				S3Logs: &guardduty.DetectorDatasourcesS3LogsArgs{
					Enable: pulumi.Bool(true),
				},
			},
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty detectors using the detector ID. For example:

```sh

$ pulumi import aws:guardduty/detector:Detector MyDetector 00b00fd5aecc0ab60a708659477e9617

```

The ID of the detector can be retrieved via the [AWS CLI](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/guardduty/list-detectors.html) using `aws guardduty list-detectors`.

func GetDetector

func GetDetector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DetectorState, opts ...pulumi.ResourceOption) (*Detector, error)

GetDetector gets an existing Detector 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 NewDetector

func NewDetector(ctx *pulumi.Context,
	name string, args *DetectorArgs, opts ...pulumi.ResourceOption) (*Detector, error)

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

func (*Detector) ElementType

func (*Detector) ElementType() reflect.Type

func (*Detector) ToDetectorOutput

func (i *Detector) ToDetectorOutput() DetectorOutput

func (*Detector) ToDetectorOutputWithContext

func (i *Detector) ToDetectorOutputWithContext(ctx context.Context) DetectorOutput

type DetectorArgs

type DetectorArgs struct {
	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.DetectorFeature` resources.
	Datasources DetectorDatasourcesPtrInput
	// Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.
	Enable pulumi.BoolPtrInput
	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in this provider to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.
	FindingPublishingFrequency pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Detector resource.

func (DetectorArgs) ElementType

func (DetectorArgs) ElementType() reflect.Type

type DetectorArray

type DetectorArray []DetectorInput

func (DetectorArray) ElementType

func (DetectorArray) ElementType() reflect.Type

func (DetectorArray) ToDetectorArrayOutput

func (i DetectorArray) ToDetectorArrayOutput() DetectorArrayOutput

func (DetectorArray) ToDetectorArrayOutputWithContext

func (i DetectorArray) ToDetectorArrayOutputWithContext(ctx context.Context) DetectorArrayOutput

type DetectorArrayInput

type DetectorArrayInput interface {
	pulumi.Input

	ToDetectorArrayOutput() DetectorArrayOutput
	ToDetectorArrayOutputWithContext(context.Context) DetectorArrayOutput
}

DetectorArrayInput is an input type that accepts DetectorArray and DetectorArrayOutput values. You can construct a concrete instance of `DetectorArrayInput` via:

DetectorArray{ DetectorArgs{...} }

type DetectorArrayOutput

type DetectorArrayOutput struct{ *pulumi.OutputState }

func (DetectorArrayOutput) ElementType

func (DetectorArrayOutput) ElementType() reflect.Type

func (DetectorArrayOutput) Index

func (DetectorArrayOutput) ToDetectorArrayOutput

func (o DetectorArrayOutput) ToDetectorArrayOutput() DetectorArrayOutput

func (DetectorArrayOutput) ToDetectorArrayOutputWithContext

func (o DetectorArrayOutput) ToDetectorArrayOutputWithContext(ctx context.Context) DetectorArrayOutput

type DetectorDatasources

type DetectorDatasources struct {
	// Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes and Kubernetes Audit Logs below for more details.
	Kubernetes *DetectorDatasourcesKubernetes `pulumi:"kubernetes"`
	// Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
	// See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
	//
	// The `datasources` block is deprecated since March 2023. Use the `features` block instead and [map each `datasources` block to the corresponding `features` block](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html#guardduty-feature-enablement-datasource-relation).
	MalwareProtection *DetectorDatasourcesMalwareProtection `pulumi:"malwareProtection"`
	// Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
	// See S3 Logs below for more details.
	S3Logs *DetectorDatasourcesS3Logs `pulumi:"s3Logs"`
}

type DetectorDatasourcesArgs

type DetectorDatasourcesArgs struct {
	// Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes and Kubernetes Audit Logs below for more details.
	Kubernetes DetectorDatasourcesKubernetesPtrInput `pulumi:"kubernetes"`
	// Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html).
	// See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
	//
	// The `datasources` block is deprecated since March 2023. Use the `features` block instead and [map each `datasources` block to the corresponding `features` block](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html#guardduty-feature-enablement-datasource-relation).
	MalwareProtection DetectorDatasourcesMalwareProtectionPtrInput `pulumi:"malwareProtection"`
	// Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
	// See S3 Logs below for more details.
	S3Logs DetectorDatasourcesS3LogsPtrInput `pulumi:"s3Logs"`
}

func (DetectorDatasourcesArgs) ElementType

func (DetectorDatasourcesArgs) ElementType() reflect.Type

func (DetectorDatasourcesArgs) ToDetectorDatasourcesOutput

func (i DetectorDatasourcesArgs) ToDetectorDatasourcesOutput() DetectorDatasourcesOutput

func (DetectorDatasourcesArgs) ToDetectorDatasourcesOutputWithContext

func (i DetectorDatasourcesArgs) ToDetectorDatasourcesOutputWithContext(ctx context.Context) DetectorDatasourcesOutput

func (DetectorDatasourcesArgs) ToDetectorDatasourcesPtrOutput

func (i DetectorDatasourcesArgs) ToDetectorDatasourcesPtrOutput() DetectorDatasourcesPtrOutput

func (DetectorDatasourcesArgs) ToDetectorDatasourcesPtrOutputWithContext

func (i DetectorDatasourcesArgs) ToDetectorDatasourcesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesPtrOutput

type DetectorDatasourcesInput

type DetectorDatasourcesInput interface {
	pulumi.Input

	ToDetectorDatasourcesOutput() DetectorDatasourcesOutput
	ToDetectorDatasourcesOutputWithContext(context.Context) DetectorDatasourcesOutput
}

DetectorDatasourcesInput is an input type that accepts DetectorDatasourcesArgs and DetectorDatasourcesOutput values. You can construct a concrete instance of `DetectorDatasourcesInput` via:

DetectorDatasourcesArgs{...}

type DetectorDatasourcesKubernetes

type DetectorDatasourcesKubernetes struct {
	// Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes Audit Logs below for more details.
	AuditLogs DetectorDatasourcesKubernetesAuditLogs `pulumi:"auditLogs"`
}

type DetectorDatasourcesKubernetesArgs

type DetectorDatasourcesKubernetesArgs struct {
	// Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes Audit Logs below for more details.
	AuditLogs DetectorDatasourcesKubernetesAuditLogsInput `pulumi:"auditLogs"`
}

func (DetectorDatasourcesKubernetesArgs) ElementType

func (DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesOutput

func (i DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesOutput() DetectorDatasourcesKubernetesOutput

func (DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesOutputWithContext

func (i DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesOutput

func (DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesPtrOutput

func (i DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesPtrOutput() DetectorDatasourcesKubernetesPtrOutput

func (DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesPtrOutputWithContext

func (i DetectorDatasourcesKubernetesArgs) ToDetectorDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesPtrOutput

type DetectorDatasourcesKubernetesAuditLogs

type DetectorDatasourcesKubernetesAuditLogs struct {
	// If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// Defaults to `true`.
	Enable bool `pulumi:"enable"`
}

type DetectorDatasourcesKubernetesAuditLogsArgs

type DetectorDatasourcesKubernetesAuditLogsArgs struct {
	// If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// Defaults to `true`.
	Enable pulumi.BoolInput `pulumi:"enable"`
}

func (DetectorDatasourcesKubernetesAuditLogsArgs) ElementType

func (DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsOutput

func (i DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsOutput() DetectorDatasourcesKubernetesAuditLogsOutput

func (DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsOutputWithContext

func (i DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesAuditLogsOutput

func (DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput

func (i DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput() DetectorDatasourcesKubernetesAuditLogsPtrOutput

func (DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (i DetectorDatasourcesKubernetesAuditLogsArgs) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesAuditLogsPtrOutput

type DetectorDatasourcesKubernetesAuditLogsInput

type DetectorDatasourcesKubernetesAuditLogsInput interface {
	pulumi.Input

	ToDetectorDatasourcesKubernetesAuditLogsOutput() DetectorDatasourcesKubernetesAuditLogsOutput
	ToDetectorDatasourcesKubernetesAuditLogsOutputWithContext(context.Context) DetectorDatasourcesKubernetesAuditLogsOutput
}

DetectorDatasourcesKubernetesAuditLogsInput is an input type that accepts DetectorDatasourcesKubernetesAuditLogsArgs and DetectorDatasourcesKubernetesAuditLogsOutput values. You can construct a concrete instance of `DetectorDatasourcesKubernetesAuditLogsInput` via:

DetectorDatasourcesKubernetesAuditLogsArgs{...}

type DetectorDatasourcesKubernetesAuditLogsOutput

type DetectorDatasourcesKubernetesAuditLogsOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesKubernetesAuditLogsOutput) ElementType

func (DetectorDatasourcesKubernetesAuditLogsOutput) Enable

If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). Defaults to `true`.

func (DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsOutput

func (o DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsOutput() DetectorDatasourcesKubernetesAuditLogsOutput

func (DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsOutputWithContext

func (o DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesAuditLogsOutput

func (DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput

func (o DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput() DetectorDatasourcesKubernetesAuditLogsPtrOutput

func (DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (o DetectorDatasourcesKubernetesAuditLogsOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesAuditLogsPtrOutput

type DetectorDatasourcesKubernetesAuditLogsPtrInput

type DetectorDatasourcesKubernetesAuditLogsPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesKubernetesAuditLogsPtrOutput() DetectorDatasourcesKubernetesAuditLogsPtrOutput
	ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext(context.Context) DetectorDatasourcesKubernetesAuditLogsPtrOutput
}

DetectorDatasourcesKubernetesAuditLogsPtrInput is an input type that accepts DetectorDatasourcesKubernetesAuditLogsArgs, DetectorDatasourcesKubernetesAuditLogsPtr and DetectorDatasourcesKubernetesAuditLogsPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesKubernetesAuditLogsPtrInput` via:

        DetectorDatasourcesKubernetesAuditLogsArgs{...}

or:

        nil

type DetectorDatasourcesKubernetesAuditLogsPtrOutput

type DetectorDatasourcesKubernetesAuditLogsPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesKubernetesAuditLogsPtrOutput) Elem

func (DetectorDatasourcesKubernetesAuditLogsPtrOutput) ElementType

func (DetectorDatasourcesKubernetesAuditLogsPtrOutput) Enable

If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). Defaults to `true`.

func (DetectorDatasourcesKubernetesAuditLogsPtrOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput

func (o DetectorDatasourcesKubernetesAuditLogsPtrOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutput() DetectorDatasourcesKubernetesAuditLogsPtrOutput

func (DetectorDatasourcesKubernetesAuditLogsPtrOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (o DetectorDatasourcesKubernetesAuditLogsPtrOutput) ToDetectorDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesAuditLogsPtrOutput

type DetectorDatasourcesKubernetesInput

type DetectorDatasourcesKubernetesInput interface {
	pulumi.Input

	ToDetectorDatasourcesKubernetesOutput() DetectorDatasourcesKubernetesOutput
	ToDetectorDatasourcesKubernetesOutputWithContext(context.Context) DetectorDatasourcesKubernetesOutput
}

DetectorDatasourcesKubernetesInput is an input type that accepts DetectorDatasourcesKubernetesArgs and DetectorDatasourcesKubernetesOutput values. You can construct a concrete instance of `DetectorDatasourcesKubernetesInput` via:

DetectorDatasourcesKubernetesArgs{...}

type DetectorDatasourcesKubernetesOutput

type DetectorDatasourcesKubernetesOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesKubernetesOutput) AuditLogs

Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes Audit Logs below for more details.

func (DetectorDatasourcesKubernetesOutput) ElementType

func (DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesOutput

func (o DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesOutput() DetectorDatasourcesKubernetesOutput

func (DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesOutputWithContext

func (o DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesOutput

func (DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesPtrOutput

func (o DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesPtrOutput() DetectorDatasourcesKubernetesPtrOutput

func (DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesPtrOutputWithContext

func (o DetectorDatasourcesKubernetesOutput) ToDetectorDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesPtrOutput

type DetectorDatasourcesKubernetesPtrInput

type DetectorDatasourcesKubernetesPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesKubernetesPtrOutput() DetectorDatasourcesKubernetesPtrOutput
	ToDetectorDatasourcesKubernetesPtrOutputWithContext(context.Context) DetectorDatasourcesKubernetesPtrOutput
}

DetectorDatasourcesKubernetesPtrInput is an input type that accepts DetectorDatasourcesKubernetesArgs, DetectorDatasourcesKubernetesPtr and DetectorDatasourcesKubernetesPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesKubernetesPtrInput` via:

        DetectorDatasourcesKubernetesArgs{...}

or:

        nil

type DetectorDatasourcesKubernetesPtrOutput

type DetectorDatasourcesKubernetesPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesKubernetesPtrOutput) AuditLogs

Configures Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes Audit Logs below for more details.

func (DetectorDatasourcesKubernetesPtrOutput) Elem

func (DetectorDatasourcesKubernetesPtrOutput) ElementType

func (DetectorDatasourcesKubernetesPtrOutput) ToDetectorDatasourcesKubernetesPtrOutput

func (o DetectorDatasourcesKubernetesPtrOutput) ToDetectorDatasourcesKubernetesPtrOutput() DetectorDatasourcesKubernetesPtrOutput

func (DetectorDatasourcesKubernetesPtrOutput) ToDetectorDatasourcesKubernetesPtrOutputWithContext

func (o DetectorDatasourcesKubernetesPtrOutput) ToDetectorDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesKubernetesPtrOutput

type DetectorDatasourcesMalwareProtection

type DetectorDatasourcesMalwareProtection struct {
	// Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
	// See Scan EC2 instance with findings below for more details.
	ScanEc2InstanceWithFindings DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings `pulumi:"scanEc2InstanceWithFindings"`
}

type DetectorDatasourcesMalwareProtectionArgs

type DetectorDatasourcesMalwareProtectionArgs struct {
	// Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector.
	// See Scan EC2 instance with findings below for more details.
	ScanEc2InstanceWithFindings DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput `pulumi:"scanEc2InstanceWithFindings"`
}

func (DetectorDatasourcesMalwareProtectionArgs) ElementType

func (DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionOutput

func (i DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionOutput() DetectorDatasourcesMalwareProtectionOutput

func (DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionOutputWithContext

func (i DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionOutput

func (DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionPtrOutput

func (i DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionPtrOutput() DetectorDatasourcesMalwareProtectionPtrOutput

func (DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext

func (i DetectorDatasourcesMalwareProtectionArgs) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionPtrOutput

type DetectorDatasourcesMalwareProtectionInput

type DetectorDatasourcesMalwareProtectionInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionOutput() DetectorDatasourcesMalwareProtectionOutput
	ToDetectorDatasourcesMalwareProtectionOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionOutput
}

DetectorDatasourcesMalwareProtectionInput is an input type that accepts DetectorDatasourcesMalwareProtectionArgs and DetectorDatasourcesMalwareProtectionOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionInput` via:

DetectorDatasourcesMalwareProtectionArgs{...}

type DetectorDatasourcesMalwareProtectionOutput

type DetectorDatasourcesMalwareProtectionOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionOutput) ElementType

func (DetectorDatasourcesMalwareProtectionOutput) ScanEc2InstanceWithFindings

Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector. See Scan EC2 instance with findings below for more details.

func (DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionOutput

func (o DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionOutput() DetectorDatasourcesMalwareProtectionOutput

func (DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionOutputWithContext

func (o DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionOutput

func (DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionPtrOutput

func (o DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionPtrOutput() DetectorDatasourcesMalwareProtectionPtrOutput

func (DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext

func (o DetectorDatasourcesMalwareProtectionOutput) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionPtrOutput

type DetectorDatasourcesMalwareProtectionPtrInput

type DetectorDatasourcesMalwareProtectionPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionPtrOutput() DetectorDatasourcesMalwareProtectionPtrOutput
	ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionPtrOutput
}

DetectorDatasourcesMalwareProtectionPtrInput is an input type that accepts DetectorDatasourcesMalwareProtectionArgs, DetectorDatasourcesMalwareProtectionPtr and DetectorDatasourcesMalwareProtectionPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionPtrInput` via:

        DetectorDatasourcesMalwareProtectionArgs{...}

or:

        nil

type DetectorDatasourcesMalwareProtectionPtrOutput

type DetectorDatasourcesMalwareProtectionPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionPtrOutput) Elem

func (DetectorDatasourcesMalwareProtectionPtrOutput) ElementType

func (DetectorDatasourcesMalwareProtectionPtrOutput) ScanEc2InstanceWithFindings

Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) is enabled as data source for EC2 instances with findings for the detector. See Scan EC2 instance with findings below for more details.

func (DetectorDatasourcesMalwareProtectionPtrOutput) ToDetectorDatasourcesMalwareProtectionPtrOutput

func (o DetectorDatasourcesMalwareProtectionPtrOutput) ToDetectorDatasourcesMalwareProtectionPtrOutput() DetectorDatasourcesMalwareProtectionPtrOutput

func (DetectorDatasourcesMalwareProtectionPtrOutput) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext

func (o DetectorDatasourcesMalwareProtectionPtrOutput) ToDetectorDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionPtrOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindings struct {
	// Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
	// See EBS volumes below for more details.
	EbsVolumes DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes `pulumi:"ebsVolumes"`
}

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs struct {
	// Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
	// See EBS volumes below for more details.
	EbsVolumes DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput `pulumi:"ebsVolumes"`
}

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext

func (i DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

func (i DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes struct {
	// If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) as data source for the detector.
	// Defaults to `true`.
	Enable bool `pulumi:"enable"`
}

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs struct {
	// If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) as data source for the detector.
	// Defaults to `true`.
	Enable pulumi.BoolInput `pulumi:"enable"`
}

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput
	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput
}

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput is an input type that accepts DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs and DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput` via:

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{...}

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) Enable

If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) as data source for the detector. Defaults to `true`.

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput
	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput
}

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput is an input type that accepts DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs, DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtr and DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput` via:

        DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{...}

or:

        nil

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) Enable

If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) as data source for the detector. Defaults to `true`.

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput
	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput
}

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput is an input type that accepts DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs and DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput` via:

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{...}

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) EbsVolumes

Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings. See EBS volumes below for more details.

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext

func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

func (o DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput() DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput
	ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext(context.Context) DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput
}

DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput is an input type that accepts DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs, DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtr and DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput` via:

        DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{...}

or:

        nil

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

type DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) EbsVolumes

Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings. See EBS volumes below for more details.

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) Elem

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ElementType

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ToDetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

type DetectorDatasourcesOutput

type DetectorDatasourcesOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesOutput) ElementType

func (DetectorDatasourcesOutput) ElementType() reflect.Type

func (DetectorDatasourcesOutput) Kubernetes

Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes and Kubernetes Audit Logs below for more details.

func (DetectorDatasourcesOutput) MalwareProtection

Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html). See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.

The `datasources` block is deprecated since March 2023. Use the `features` block instead and [map each `datasources` block to the corresponding `features` block](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html#guardduty-feature-enablement-datasource-relation).

func (DetectorDatasourcesOutput) S3Logs

Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html). See S3 Logs below for more details.

func (DetectorDatasourcesOutput) ToDetectorDatasourcesOutput

func (o DetectorDatasourcesOutput) ToDetectorDatasourcesOutput() DetectorDatasourcesOutput

func (DetectorDatasourcesOutput) ToDetectorDatasourcesOutputWithContext

func (o DetectorDatasourcesOutput) ToDetectorDatasourcesOutputWithContext(ctx context.Context) DetectorDatasourcesOutput

func (DetectorDatasourcesOutput) ToDetectorDatasourcesPtrOutput

func (o DetectorDatasourcesOutput) ToDetectorDatasourcesPtrOutput() DetectorDatasourcesPtrOutput

func (DetectorDatasourcesOutput) ToDetectorDatasourcesPtrOutputWithContext

func (o DetectorDatasourcesOutput) ToDetectorDatasourcesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesPtrOutput

type DetectorDatasourcesPtrInput

type DetectorDatasourcesPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesPtrOutput() DetectorDatasourcesPtrOutput
	ToDetectorDatasourcesPtrOutputWithContext(context.Context) DetectorDatasourcesPtrOutput
}

DetectorDatasourcesPtrInput is an input type that accepts DetectorDatasourcesArgs, DetectorDatasourcesPtr and DetectorDatasourcesPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesPtrInput` via:

        DetectorDatasourcesArgs{...}

or:

        nil

type DetectorDatasourcesPtrOutput

type DetectorDatasourcesPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesPtrOutput) Elem

func (DetectorDatasourcesPtrOutput) ElementType

func (DetectorDatasourcesPtrOutput) Kubernetes

Configures [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes and Kubernetes Audit Logs below for more details.

func (DetectorDatasourcesPtrOutput) MalwareProtection

Configures [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html). See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.

The `datasources` block is deprecated since March 2023. Use the `features` block instead and [map each `datasources` block to the corresponding `features` block](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html#guardduty-feature-enablement-datasource-relation).

func (DetectorDatasourcesPtrOutput) S3Logs

Configures [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html). See S3 Logs below for more details.

func (DetectorDatasourcesPtrOutput) ToDetectorDatasourcesPtrOutput

func (o DetectorDatasourcesPtrOutput) ToDetectorDatasourcesPtrOutput() DetectorDatasourcesPtrOutput

func (DetectorDatasourcesPtrOutput) ToDetectorDatasourcesPtrOutputWithContext

func (o DetectorDatasourcesPtrOutput) ToDetectorDatasourcesPtrOutputWithContext(ctx context.Context) DetectorDatasourcesPtrOutput

type DetectorDatasourcesS3Logs

type DetectorDatasourcesS3Logs struct {
	// Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.
	Enable bool `pulumi:"enable"`
}

type DetectorDatasourcesS3LogsArgs

type DetectorDatasourcesS3LogsArgs struct {
	// Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.
	Enable pulumi.BoolInput `pulumi:"enable"`
}

func (DetectorDatasourcesS3LogsArgs) ElementType

func (DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsOutput

func (i DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsOutput() DetectorDatasourcesS3LogsOutput

func (DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsOutputWithContext

func (i DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsOutputWithContext(ctx context.Context) DetectorDatasourcesS3LogsOutput

func (DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsPtrOutput

func (i DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsPtrOutput() DetectorDatasourcesS3LogsPtrOutput

func (DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsPtrOutputWithContext

func (i DetectorDatasourcesS3LogsArgs) ToDetectorDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesS3LogsPtrOutput

type DetectorDatasourcesS3LogsInput

type DetectorDatasourcesS3LogsInput interface {
	pulumi.Input

	ToDetectorDatasourcesS3LogsOutput() DetectorDatasourcesS3LogsOutput
	ToDetectorDatasourcesS3LogsOutputWithContext(context.Context) DetectorDatasourcesS3LogsOutput
}

DetectorDatasourcesS3LogsInput is an input type that accepts DetectorDatasourcesS3LogsArgs and DetectorDatasourcesS3LogsOutput values. You can construct a concrete instance of `DetectorDatasourcesS3LogsInput` via:

DetectorDatasourcesS3LogsArgs{...}

type DetectorDatasourcesS3LogsOutput

type DetectorDatasourcesS3LogsOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesS3LogsOutput) ElementType

func (DetectorDatasourcesS3LogsOutput) Enable

Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.

func (DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsOutput

func (o DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsOutput() DetectorDatasourcesS3LogsOutput

func (DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsOutputWithContext

func (o DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsOutputWithContext(ctx context.Context) DetectorDatasourcesS3LogsOutput

func (DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsPtrOutput

func (o DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsPtrOutput() DetectorDatasourcesS3LogsPtrOutput

func (DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsPtrOutputWithContext

func (o DetectorDatasourcesS3LogsOutput) ToDetectorDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesS3LogsPtrOutput

type DetectorDatasourcesS3LogsPtrInput

type DetectorDatasourcesS3LogsPtrInput interface {
	pulumi.Input

	ToDetectorDatasourcesS3LogsPtrOutput() DetectorDatasourcesS3LogsPtrOutput
	ToDetectorDatasourcesS3LogsPtrOutputWithContext(context.Context) DetectorDatasourcesS3LogsPtrOutput
}

DetectorDatasourcesS3LogsPtrInput is an input type that accepts DetectorDatasourcesS3LogsArgs, DetectorDatasourcesS3LogsPtr and DetectorDatasourcesS3LogsPtrOutput values. You can construct a concrete instance of `DetectorDatasourcesS3LogsPtrInput` via:

        DetectorDatasourcesS3LogsArgs{...}

or:

        nil

type DetectorDatasourcesS3LogsPtrOutput

type DetectorDatasourcesS3LogsPtrOutput struct{ *pulumi.OutputState }

func (DetectorDatasourcesS3LogsPtrOutput) Elem

func (DetectorDatasourcesS3LogsPtrOutput) ElementType

func (DetectorDatasourcesS3LogsPtrOutput) Enable

Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.

func (DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutput

func (o DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutput() DetectorDatasourcesS3LogsPtrOutput

func (DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutputWithContext

func (o DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) DetectorDatasourcesS3LogsPtrOutput

type DetectorFeature added in v6.5.0

type DetectorFeature struct {
	pulumi.CustomResourceState

	// Additional feature configuration block. See below.
	AdditionalConfigurations DetectorFeatureAdditionalConfigurationArrayOutput `pulumi:"additionalConfigurations"`
	// Amazon GuardDuty detector ID.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Provides a resource to manage a single Amazon GuardDuty [detector feature](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-features-activation-model.html#guardduty-features).

> **NOTE:** Deleting this resource does not disable the detector feature, the resource in simply removed from state instead.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := guardduty.NewDetector(ctx, "example", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewDetectorFeature(ctx, "eksRuntimeMonitoring", &guardduty.DetectorFeatureArgs{
			DetectorId: example.ID(),
			Status:     pulumi.String("ENABLED"),
			AdditionalConfigurations: guardduty.DetectorFeatureAdditionalConfigurationArray{
				&guardduty.DetectorFeatureAdditionalConfigurationArgs{
					Name:   pulumi.String("EKS_ADDON_MANAGEMENT"),
					Status: pulumi.String("ENABLED"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetDetectorFeature added in v6.5.0

func GetDetectorFeature(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DetectorFeatureState, opts ...pulumi.ResourceOption) (*DetectorFeature, error)

GetDetectorFeature gets an existing DetectorFeature 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 NewDetectorFeature added in v6.5.0

func NewDetectorFeature(ctx *pulumi.Context,
	name string, args *DetectorFeatureArgs, opts ...pulumi.ResourceOption) (*DetectorFeature, error)

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

func (*DetectorFeature) ElementType added in v6.5.0

func (*DetectorFeature) ElementType() reflect.Type

func (*DetectorFeature) ToDetectorFeatureOutput added in v6.5.0

func (i *DetectorFeature) ToDetectorFeatureOutput() DetectorFeatureOutput

func (*DetectorFeature) ToDetectorFeatureOutputWithContext added in v6.5.0

func (i *DetectorFeature) ToDetectorFeatureOutputWithContext(ctx context.Context) DetectorFeatureOutput

type DetectorFeatureAdditionalConfiguration added in v6.5.0

type DetectorFeatureAdditionalConfiguration struct {
	// The name of the additional configuration. Valid values: `EKS_ADDON_MANAGEMENT`.
	Name string `pulumi:"name"`
	// The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
	Status string `pulumi:"status"`
}

type DetectorFeatureAdditionalConfigurationArgs added in v6.5.0

type DetectorFeatureAdditionalConfigurationArgs struct {
	// The name of the additional configuration. Valid values: `EKS_ADDON_MANAGEMENT`.
	Name pulumi.StringInput `pulumi:"name"`
	// The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (DetectorFeatureAdditionalConfigurationArgs) ElementType added in v6.5.0

func (DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutput added in v6.5.0

func (i DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutput() DetectorFeatureAdditionalConfigurationOutput

func (DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutputWithContext added in v6.5.0

func (i DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) DetectorFeatureAdditionalConfigurationOutput

type DetectorFeatureAdditionalConfigurationArray added in v6.5.0

type DetectorFeatureAdditionalConfigurationArray []DetectorFeatureAdditionalConfigurationInput

func (DetectorFeatureAdditionalConfigurationArray) ElementType added in v6.5.0

func (DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

func (i DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutput() DetectorFeatureAdditionalConfigurationArrayOutput

func (DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext added in v6.5.0

func (i DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) DetectorFeatureAdditionalConfigurationArrayOutput

type DetectorFeatureAdditionalConfigurationArrayInput added in v6.5.0

type DetectorFeatureAdditionalConfigurationArrayInput interface {
	pulumi.Input

	ToDetectorFeatureAdditionalConfigurationArrayOutput() DetectorFeatureAdditionalConfigurationArrayOutput
	ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext(context.Context) DetectorFeatureAdditionalConfigurationArrayOutput
}

DetectorFeatureAdditionalConfigurationArrayInput is an input type that accepts DetectorFeatureAdditionalConfigurationArray and DetectorFeatureAdditionalConfigurationArrayOutput values. You can construct a concrete instance of `DetectorFeatureAdditionalConfigurationArrayInput` via:

DetectorFeatureAdditionalConfigurationArray{ DetectorFeatureAdditionalConfigurationArgs{...} }

type DetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

type DetectorFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DetectorFeatureAdditionalConfigurationArrayOutput) ElementType added in v6.5.0

func (DetectorFeatureAdditionalConfigurationArrayOutput) Index added in v6.5.0

func (DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

func (o DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutput() DetectorFeatureAdditionalConfigurationArrayOutput

func (DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext added in v6.5.0

func (o DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) DetectorFeatureAdditionalConfigurationArrayOutput

type DetectorFeatureAdditionalConfigurationInput added in v6.5.0

type DetectorFeatureAdditionalConfigurationInput interface {
	pulumi.Input

	ToDetectorFeatureAdditionalConfigurationOutput() DetectorFeatureAdditionalConfigurationOutput
	ToDetectorFeatureAdditionalConfigurationOutputWithContext(context.Context) DetectorFeatureAdditionalConfigurationOutput
}

DetectorFeatureAdditionalConfigurationInput is an input type that accepts DetectorFeatureAdditionalConfigurationArgs and DetectorFeatureAdditionalConfigurationOutput values. You can construct a concrete instance of `DetectorFeatureAdditionalConfigurationInput` via:

DetectorFeatureAdditionalConfigurationArgs{...}

type DetectorFeatureAdditionalConfigurationOutput added in v6.5.0

type DetectorFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (DetectorFeatureAdditionalConfigurationOutput) ElementType added in v6.5.0

func (DetectorFeatureAdditionalConfigurationOutput) Name added in v6.5.0

The name of the additional configuration. Valid values: `EKS_ADDON_MANAGEMENT`.

func (DetectorFeatureAdditionalConfigurationOutput) Status added in v6.5.0

The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.

func (DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutput added in v6.5.0

func (o DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutput() DetectorFeatureAdditionalConfigurationOutput

func (DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutputWithContext added in v6.5.0

func (o DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) DetectorFeatureAdditionalConfigurationOutput

type DetectorFeatureArgs added in v6.5.0

type DetectorFeatureArgs struct {
	// Additional feature configuration block. See below.
	AdditionalConfigurations DetectorFeatureAdditionalConfigurationArrayInput
	// Amazon GuardDuty detector ID.
	DetectorId pulumi.StringInput
	// The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringInput
}

The set of arguments for constructing a DetectorFeature resource.

func (DetectorFeatureArgs) ElementType added in v6.5.0

func (DetectorFeatureArgs) ElementType() reflect.Type

type DetectorFeatureArray added in v6.5.0

type DetectorFeatureArray []DetectorFeatureInput

func (DetectorFeatureArray) ElementType added in v6.5.0

func (DetectorFeatureArray) ElementType() reflect.Type

func (DetectorFeatureArray) ToDetectorFeatureArrayOutput added in v6.5.0

func (i DetectorFeatureArray) ToDetectorFeatureArrayOutput() DetectorFeatureArrayOutput

func (DetectorFeatureArray) ToDetectorFeatureArrayOutputWithContext added in v6.5.0

func (i DetectorFeatureArray) ToDetectorFeatureArrayOutputWithContext(ctx context.Context) DetectorFeatureArrayOutput

type DetectorFeatureArrayInput added in v6.5.0

type DetectorFeatureArrayInput interface {
	pulumi.Input

	ToDetectorFeatureArrayOutput() DetectorFeatureArrayOutput
	ToDetectorFeatureArrayOutputWithContext(context.Context) DetectorFeatureArrayOutput
}

DetectorFeatureArrayInput is an input type that accepts DetectorFeatureArray and DetectorFeatureArrayOutput values. You can construct a concrete instance of `DetectorFeatureArrayInput` via:

DetectorFeatureArray{ DetectorFeatureArgs{...} }

type DetectorFeatureArrayOutput added in v6.5.0

type DetectorFeatureArrayOutput struct{ *pulumi.OutputState }

func (DetectorFeatureArrayOutput) ElementType added in v6.5.0

func (DetectorFeatureArrayOutput) ElementType() reflect.Type

func (DetectorFeatureArrayOutput) Index added in v6.5.0

func (DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutput added in v6.5.0

func (o DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutput() DetectorFeatureArrayOutput

func (DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutputWithContext added in v6.5.0

func (o DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutputWithContext(ctx context.Context) DetectorFeatureArrayOutput

type DetectorFeatureInput added in v6.5.0

type DetectorFeatureInput interface {
	pulumi.Input

	ToDetectorFeatureOutput() DetectorFeatureOutput
	ToDetectorFeatureOutputWithContext(ctx context.Context) DetectorFeatureOutput
}

type DetectorFeatureMap added in v6.5.0

type DetectorFeatureMap map[string]DetectorFeatureInput

func (DetectorFeatureMap) ElementType added in v6.5.0

func (DetectorFeatureMap) ElementType() reflect.Type

func (DetectorFeatureMap) ToDetectorFeatureMapOutput added in v6.5.0

func (i DetectorFeatureMap) ToDetectorFeatureMapOutput() DetectorFeatureMapOutput

func (DetectorFeatureMap) ToDetectorFeatureMapOutputWithContext added in v6.5.0

func (i DetectorFeatureMap) ToDetectorFeatureMapOutputWithContext(ctx context.Context) DetectorFeatureMapOutput

type DetectorFeatureMapInput added in v6.5.0

type DetectorFeatureMapInput interface {
	pulumi.Input

	ToDetectorFeatureMapOutput() DetectorFeatureMapOutput
	ToDetectorFeatureMapOutputWithContext(context.Context) DetectorFeatureMapOutput
}

DetectorFeatureMapInput is an input type that accepts DetectorFeatureMap and DetectorFeatureMapOutput values. You can construct a concrete instance of `DetectorFeatureMapInput` via:

DetectorFeatureMap{ "key": DetectorFeatureArgs{...} }

type DetectorFeatureMapOutput added in v6.5.0

type DetectorFeatureMapOutput struct{ *pulumi.OutputState }

func (DetectorFeatureMapOutput) ElementType added in v6.5.0

func (DetectorFeatureMapOutput) ElementType() reflect.Type

func (DetectorFeatureMapOutput) MapIndex added in v6.5.0

func (DetectorFeatureMapOutput) ToDetectorFeatureMapOutput added in v6.5.0

func (o DetectorFeatureMapOutput) ToDetectorFeatureMapOutput() DetectorFeatureMapOutput

func (DetectorFeatureMapOutput) ToDetectorFeatureMapOutputWithContext added in v6.5.0

func (o DetectorFeatureMapOutput) ToDetectorFeatureMapOutputWithContext(ctx context.Context) DetectorFeatureMapOutput

type DetectorFeatureOutput added in v6.5.0

type DetectorFeatureOutput struct{ *pulumi.OutputState }

func (DetectorFeatureOutput) AdditionalConfigurations added in v6.5.0

Additional feature configuration block. See below.

func (DetectorFeatureOutput) DetectorId added in v6.5.0

func (o DetectorFeatureOutput) DetectorId() pulumi.StringOutput

Amazon GuardDuty detector ID.

func (DetectorFeatureOutput) ElementType added in v6.5.0

func (DetectorFeatureOutput) ElementType() reflect.Type

func (DetectorFeatureOutput) Name added in v6.5.0

The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.

func (DetectorFeatureOutput) Status added in v6.5.0

The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.

func (DetectorFeatureOutput) ToDetectorFeatureOutput added in v6.5.0

func (o DetectorFeatureOutput) ToDetectorFeatureOutput() DetectorFeatureOutput

func (DetectorFeatureOutput) ToDetectorFeatureOutputWithContext added in v6.5.0

func (o DetectorFeatureOutput) ToDetectorFeatureOutputWithContext(ctx context.Context) DetectorFeatureOutput

type DetectorFeatureState added in v6.5.0

type DetectorFeatureState struct {
	// Additional feature configuration block. See below.
	AdditionalConfigurations DetectorFeatureAdditionalConfigurationArrayInput
	// Amazon GuardDuty detector ID.
	DetectorId pulumi.StringPtrInput
	// The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringPtrInput
}

func (DetectorFeatureState) ElementType added in v6.5.0

func (DetectorFeatureState) ElementType() reflect.Type

type DetectorInput

type DetectorInput interface {
	pulumi.Input

	ToDetectorOutput() DetectorOutput
	ToDetectorOutputWithContext(ctx context.Context) DetectorOutput
}

type DetectorMap

type DetectorMap map[string]DetectorInput

func (DetectorMap) ElementType

func (DetectorMap) ElementType() reflect.Type

func (DetectorMap) ToDetectorMapOutput

func (i DetectorMap) ToDetectorMapOutput() DetectorMapOutput

func (DetectorMap) ToDetectorMapOutputWithContext

func (i DetectorMap) ToDetectorMapOutputWithContext(ctx context.Context) DetectorMapOutput

type DetectorMapInput

type DetectorMapInput interface {
	pulumi.Input

	ToDetectorMapOutput() DetectorMapOutput
	ToDetectorMapOutputWithContext(context.Context) DetectorMapOutput
}

DetectorMapInput is an input type that accepts DetectorMap and DetectorMapOutput values. You can construct a concrete instance of `DetectorMapInput` via:

DetectorMap{ "key": DetectorArgs{...} }

type DetectorMapOutput

type DetectorMapOutput struct{ *pulumi.OutputState }

func (DetectorMapOutput) ElementType

func (DetectorMapOutput) ElementType() reflect.Type

func (DetectorMapOutput) MapIndex

func (DetectorMapOutput) ToDetectorMapOutput

func (o DetectorMapOutput) ToDetectorMapOutput() DetectorMapOutput

func (DetectorMapOutput) ToDetectorMapOutputWithContext

func (o DetectorMapOutput) ToDetectorMapOutputWithContext(ctx context.Context) DetectorMapOutput

type DetectorOutput

type DetectorOutput struct{ *pulumi.OutputState }

func (DetectorOutput) AccountId

func (o DetectorOutput) AccountId() pulumi.StringOutput

The AWS account ID of the GuardDuty detector

func (DetectorOutput) Arn

Amazon Resource Name (ARN) of the GuardDuty detector

func (DetectorOutput) Datasources

func (o DetectorOutput) Datasources() DetectorDatasourcesOutput

Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.DetectorFeature` resources.

func (DetectorOutput) ElementType

func (DetectorOutput) ElementType() reflect.Type

func (DetectorOutput) Enable

func (o DetectorOutput) Enable() pulumi.BoolPtrOutput

Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.

func (DetectorOutput) FindingPublishingFrequency

func (o DetectorOutput) FindingPublishingFrequency() pulumi.StringOutput

Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in this provider to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.

func (DetectorOutput) Tags

Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (DetectorOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (DetectorOutput) ToDetectorOutput

func (o DetectorOutput) ToDetectorOutput() DetectorOutput

func (DetectorOutput) ToDetectorOutputWithContext

func (o DetectorOutput) ToDetectorOutputWithContext(ctx context.Context) DetectorOutput

type DetectorState

type DetectorState struct {
	// The AWS account ID of the GuardDuty detector
	AccountId pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the GuardDuty detector
	Arn pulumi.StringPtrInput
	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.DetectorFeature` resources.
	Datasources DetectorDatasourcesPtrInput
	// Enable monitoring and feedback reporting. Setting to `false` is equivalent to "suspending" GuardDuty. Defaults to `true`.
	Enable pulumi.BoolPtrInput
	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to `SIX_HOURS`. For standalone and GuardDuty primary accounts, it must be configured in this provider to enable drift detection. Valid values for standalone and primary accounts: `FIFTEEN_MINUTES`, `ONE_HOUR`, `SIX_HOURS`. See [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_findings_cloudwatch.html#guardduty_findings_cloudwatch_notification_frequency) for more information.
	FindingPublishingFrequency pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (DetectorState) ElementType

func (DetectorState) ElementType() reflect.Type

type Filter

type Filter struct {
	pulumi.CustomResourceState

	// Specifies the action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.
	Action pulumi.StringOutput `pulumi:"action"`
	// The ARN of the GuardDuty filter.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Description of the filter.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// ID of a GuardDuty detector, attached to your account.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// Represents the criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.
	FindingCriteria FilterFindingCriteriaOutput `pulumi:"findingCriteria"`
	// The name of your filter.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	Rank pulumi.IntOutput `pulumi:"rank"`
	// The tags that you want to add to the Filter resource. A tag consists of a key and a value. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage a GuardDuty filter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := guardduty.NewFilter(ctx, "myFilter", &guardduty.FilterArgs{
			Action:     pulumi.String("ARCHIVE"),
			DetectorId: pulumi.Any(aws_guardduty_detector.Example.Id),
			Rank:       pulumi.Int(1),
			FindingCriteria: &guardduty.FilterFindingCriteriaArgs{
				Criterions: guardduty.FilterFindingCriteriaCriterionArray{
					&guardduty.FilterFindingCriteriaCriterionArgs{
						Field: pulumi.String("region"),
						Equals: pulumi.StringArray{
							pulumi.String("eu-west-1"),
						},
					},
					&guardduty.FilterFindingCriteriaCriterionArgs{
						Field: pulumi.String("service.additionalInfo.threatListName"),
						NotEquals: pulumi.StringArray{
							pulumi.String("some-threat"),
							pulumi.String("another-threat"),
						},
					},
					&guardduty.FilterFindingCriteriaCriterionArgs{
						Field:       pulumi.String("updatedAt"),
						GreaterThan: pulumi.String("2020-01-01T00:00:00Z"),
						LessThan:    pulumi.String("2020-02-01T00:00:00Z"),
					},
					&guardduty.FilterFindingCriteriaCriterionArgs{
						Field:              pulumi.String("severity"),
						GreaterThanOrEqual: pulumi.String("4"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty filters using the detector ID and filter's name separated by a colon. For example:

```sh

$ pulumi import aws:guardduty/filter:Filter MyFilter 00b00fd5aecc0ab60a708659477e9617:MyFilter

```

func GetFilter

func GetFilter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FilterState, opts ...pulumi.ResourceOption) (*Filter, error)

GetFilter gets an existing Filter 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 NewFilter

func NewFilter(ctx *pulumi.Context,
	name string, args *FilterArgs, opts ...pulumi.ResourceOption) (*Filter, error)

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

func (*Filter) ElementType

func (*Filter) ElementType() reflect.Type

func (*Filter) ToFilterOutput

func (i *Filter) ToFilterOutput() FilterOutput

func (*Filter) ToFilterOutputWithContext

func (i *Filter) ToFilterOutputWithContext(ctx context.Context) FilterOutput

type FilterArgs

type FilterArgs struct {
	// Specifies the action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.
	Action pulumi.StringInput
	// Description of the filter.
	Description pulumi.StringPtrInput
	// ID of a GuardDuty detector, attached to your account.
	DetectorId pulumi.StringInput
	// Represents the criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.
	FindingCriteria FilterFindingCriteriaInput
	// The name of your filter.
	Name pulumi.StringPtrInput
	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	Rank pulumi.IntInput
	// The tags that you want to add to the Filter resource. A tag consists of a key and a value. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Filter resource.

func (FilterArgs) ElementType

func (FilterArgs) ElementType() reflect.Type

type FilterArray

type FilterArray []FilterInput

func (FilterArray) ElementType

func (FilterArray) ElementType() reflect.Type

func (FilterArray) ToFilterArrayOutput

func (i FilterArray) ToFilterArrayOutput() FilterArrayOutput

func (FilterArray) ToFilterArrayOutputWithContext

func (i FilterArray) ToFilterArrayOutputWithContext(ctx context.Context) FilterArrayOutput

type FilterArrayInput

type FilterArrayInput interface {
	pulumi.Input

	ToFilterArrayOutput() FilterArrayOutput
	ToFilterArrayOutputWithContext(context.Context) FilterArrayOutput
}

FilterArrayInput is an input type that accepts FilterArray and FilterArrayOutput values. You can construct a concrete instance of `FilterArrayInput` via:

FilterArray{ FilterArgs{...} }

type FilterArrayOutput

type FilterArrayOutput struct{ *pulumi.OutputState }

func (FilterArrayOutput) ElementType

func (FilterArrayOutput) ElementType() reflect.Type

func (FilterArrayOutput) Index

func (FilterArrayOutput) ToFilterArrayOutput

func (o FilterArrayOutput) ToFilterArrayOutput() FilterArrayOutput

func (FilterArrayOutput) ToFilterArrayOutputWithContext

func (o FilterArrayOutput) ToFilterArrayOutputWithContext(ctx context.Context) FilterArrayOutput

type FilterFindingCriteria

type FilterFindingCriteria struct {
	Criterions []FilterFindingCriteriaCriterion `pulumi:"criterions"`
}

type FilterFindingCriteriaArgs

type FilterFindingCriteriaArgs struct {
	Criterions FilterFindingCriteriaCriterionArrayInput `pulumi:"criterions"`
}

func (FilterFindingCriteriaArgs) ElementType

func (FilterFindingCriteriaArgs) ElementType() reflect.Type

func (FilterFindingCriteriaArgs) ToFilterFindingCriteriaOutput

func (i FilterFindingCriteriaArgs) ToFilterFindingCriteriaOutput() FilterFindingCriteriaOutput

func (FilterFindingCriteriaArgs) ToFilterFindingCriteriaOutputWithContext

func (i FilterFindingCriteriaArgs) ToFilterFindingCriteriaOutputWithContext(ctx context.Context) FilterFindingCriteriaOutput

func (FilterFindingCriteriaArgs) ToFilterFindingCriteriaPtrOutput

func (i FilterFindingCriteriaArgs) ToFilterFindingCriteriaPtrOutput() FilterFindingCriteriaPtrOutput

func (FilterFindingCriteriaArgs) ToFilterFindingCriteriaPtrOutputWithContext

func (i FilterFindingCriteriaArgs) ToFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FilterFindingCriteriaPtrOutput

type FilterFindingCriteriaCriterion

type FilterFindingCriteriaCriterion struct {
	// List of string values to be evaluated.
	Equals []string `pulumi:"equals"`
	// The name of the field to be evaluated. The full list of field names can be found in [AWS documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria).
	Field string `pulumi:"field"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	GreaterThan *string `pulumi:"greaterThan"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	GreaterThanOrEqual *string `pulumi:"greaterThanOrEqual"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	LessThan *string `pulumi:"lessThan"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	LessThanOrEqual *string `pulumi:"lessThanOrEqual"`
	// List of string values to be evaluated.
	NotEquals []string `pulumi:"notEquals"`
}

type FilterFindingCriteriaCriterionArgs

type FilterFindingCriteriaCriterionArgs struct {
	// List of string values to be evaluated.
	Equals pulumi.StringArrayInput `pulumi:"equals"`
	// The name of the field to be evaluated. The full list of field names can be found in [AWS documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria).
	Field pulumi.StringInput `pulumi:"field"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	GreaterThan pulumi.StringPtrInput `pulumi:"greaterThan"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	GreaterThanOrEqual pulumi.StringPtrInput `pulumi:"greaterThanOrEqual"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	LessThan pulumi.StringPtrInput `pulumi:"lessThan"`
	// A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
	LessThanOrEqual pulumi.StringPtrInput `pulumi:"lessThanOrEqual"`
	// List of string values to be evaluated.
	NotEquals pulumi.StringArrayInput `pulumi:"notEquals"`
}

func (FilterFindingCriteriaCriterionArgs) ElementType

func (FilterFindingCriteriaCriterionArgs) ToFilterFindingCriteriaCriterionOutput

func (i FilterFindingCriteriaCriterionArgs) ToFilterFindingCriteriaCriterionOutput() FilterFindingCriteriaCriterionOutput

func (FilterFindingCriteriaCriterionArgs) ToFilterFindingCriteriaCriterionOutputWithContext

func (i FilterFindingCriteriaCriterionArgs) ToFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FilterFindingCriteriaCriterionOutput

type FilterFindingCriteriaCriterionArray

type FilterFindingCriteriaCriterionArray []FilterFindingCriteriaCriterionInput

func (FilterFindingCriteriaCriterionArray) ElementType

func (FilterFindingCriteriaCriterionArray) ToFilterFindingCriteriaCriterionArrayOutput

func (i FilterFindingCriteriaCriterionArray) ToFilterFindingCriteriaCriterionArrayOutput() FilterFindingCriteriaCriterionArrayOutput

func (FilterFindingCriteriaCriterionArray) ToFilterFindingCriteriaCriterionArrayOutputWithContext

func (i FilterFindingCriteriaCriterionArray) ToFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FilterFindingCriteriaCriterionArrayOutput

type FilterFindingCriteriaCriterionArrayInput

type FilterFindingCriteriaCriterionArrayInput interface {
	pulumi.Input

	ToFilterFindingCriteriaCriterionArrayOutput() FilterFindingCriteriaCriterionArrayOutput
	ToFilterFindingCriteriaCriterionArrayOutputWithContext(context.Context) FilterFindingCriteriaCriterionArrayOutput
}

FilterFindingCriteriaCriterionArrayInput is an input type that accepts FilterFindingCriteriaCriterionArray and FilterFindingCriteriaCriterionArrayOutput values. You can construct a concrete instance of `FilterFindingCriteriaCriterionArrayInput` via:

FilterFindingCriteriaCriterionArray{ FilterFindingCriteriaCriterionArgs{...} }

type FilterFindingCriteriaCriterionArrayOutput

type FilterFindingCriteriaCriterionArrayOutput struct{ *pulumi.OutputState }

func (FilterFindingCriteriaCriterionArrayOutput) ElementType

func (FilterFindingCriteriaCriterionArrayOutput) Index

func (FilterFindingCriteriaCriterionArrayOutput) ToFilterFindingCriteriaCriterionArrayOutput

func (o FilterFindingCriteriaCriterionArrayOutput) ToFilterFindingCriteriaCriterionArrayOutput() FilterFindingCriteriaCriterionArrayOutput

func (FilterFindingCriteriaCriterionArrayOutput) ToFilterFindingCriteriaCriterionArrayOutputWithContext

func (o FilterFindingCriteriaCriterionArrayOutput) ToFilterFindingCriteriaCriterionArrayOutputWithContext(ctx context.Context) FilterFindingCriteriaCriterionArrayOutput

type FilterFindingCriteriaCriterionInput

type FilterFindingCriteriaCriterionInput interface {
	pulumi.Input

	ToFilterFindingCriteriaCriterionOutput() FilterFindingCriteriaCriterionOutput
	ToFilterFindingCriteriaCriterionOutputWithContext(context.Context) FilterFindingCriteriaCriterionOutput
}

FilterFindingCriteriaCriterionInput is an input type that accepts FilterFindingCriteriaCriterionArgs and FilterFindingCriteriaCriterionOutput values. You can construct a concrete instance of `FilterFindingCriteriaCriterionInput` via:

FilterFindingCriteriaCriterionArgs{...}

type FilterFindingCriteriaCriterionOutput

type FilterFindingCriteriaCriterionOutput struct{ *pulumi.OutputState }

func (FilterFindingCriteriaCriterionOutput) ElementType

func (FilterFindingCriteriaCriterionOutput) Equals

List of string values to be evaluated.

func (FilterFindingCriteriaCriterionOutput) Field

The name of the field to be evaluated. The full list of field names can be found in [AWS documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_filter-findings.html#filter_criteria).

func (FilterFindingCriteriaCriterionOutput) GreaterThan

A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).

func (FilterFindingCriteriaCriterionOutput) GreaterThanOrEqual

A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).

func (FilterFindingCriteriaCriterionOutput) LessThan

A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).

func (FilterFindingCriteriaCriterionOutput) LessThanOrEqual

A value to be evaluated. Accepts either an integer or a date in [RFC 3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).

func (FilterFindingCriteriaCriterionOutput) NotEquals

List of string values to be evaluated.

func (FilterFindingCriteriaCriterionOutput) ToFilterFindingCriteriaCriterionOutput

func (o FilterFindingCriteriaCriterionOutput) ToFilterFindingCriteriaCriterionOutput() FilterFindingCriteriaCriterionOutput

func (FilterFindingCriteriaCriterionOutput) ToFilterFindingCriteriaCriterionOutputWithContext

func (o FilterFindingCriteriaCriterionOutput) ToFilterFindingCriteriaCriterionOutputWithContext(ctx context.Context) FilterFindingCriteriaCriterionOutput

type FilterFindingCriteriaInput

type FilterFindingCriteriaInput interface {
	pulumi.Input

	ToFilterFindingCriteriaOutput() FilterFindingCriteriaOutput
	ToFilterFindingCriteriaOutputWithContext(context.Context) FilterFindingCriteriaOutput
}

FilterFindingCriteriaInput is an input type that accepts FilterFindingCriteriaArgs and FilterFindingCriteriaOutput values. You can construct a concrete instance of `FilterFindingCriteriaInput` via:

FilterFindingCriteriaArgs{...}

type FilterFindingCriteriaOutput

type FilterFindingCriteriaOutput struct{ *pulumi.OutputState }

func (FilterFindingCriteriaOutput) Criterions

func (FilterFindingCriteriaOutput) ElementType

func (FilterFindingCriteriaOutput) ToFilterFindingCriteriaOutput

func (o FilterFindingCriteriaOutput) ToFilterFindingCriteriaOutput() FilterFindingCriteriaOutput

func (FilterFindingCriteriaOutput) ToFilterFindingCriteriaOutputWithContext

func (o FilterFindingCriteriaOutput) ToFilterFindingCriteriaOutputWithContext(ctx context.Context) FilterFindingCriteriaOutput

func (FilterFindingCriteriaOutput) ToFilterFindingCriteriaPtrOutput

func (o FilterFindingCriteriaOutput) ToFilterFindingCriteriaPtrOutput() FilterFindingCriteriaPtrOutput

func (FilterFindingCriteriaOutput) ToFilterFindingCriteriaPtrOutputWithContext

func (o FilterFindingCriteriaOutput) ToFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FilterFindingCriteriaPtrOutput

type FilterFindingCriteriaPtrInput

type FilterFindingCriteriaPtrInput interface {
	pulumi.Input

	ToFilterFindingCriteriaPtrOutput() FilterFindingCriteriaPtrOutput
	ToFilterFindingCriteriaPtrOutputWithContext(context.Context) FilterFindingCriteriaPtrOutput
}

FilterFindingCriteriaPtrInput is an input type that accepts FilterFindingCriteriaArgs, FilterFindingCriteriaPtr and FilterFindingCriteriaPtrOutput values. You can construct a concrete instance of `FilterFindingCriteriaPtrInput` via:

        FilterFindingCriteriaArgs{...}

or:

        nil

type FilterFindingCriteriaPtrOutput

type FilterFindingCriteriaPtrOutput struct{ *pulumi.OutputState }

func (FilterFindingCriteriaPtrOutput) Criterions

func (FilterFindingCriteriaPtrOutput) Elem

func (FilterFindingCriteriaPtrOutput) ElementType

func (FilterFindingCriteriaPtrOutput) ToFilterFindingCriteriaPtrOutput

func (o FilterFindingCriteriaPtrOutput) ToFilterFindingCriteriaPtrOutput() FilterFindingCriteriaPtrOutput

func (FilterFindingCriteriaPtrOutput) ToFilterFindingCriteriaPtrOutputWithContext

func (o FilterFindingCriteriaPtrOutput) ToFilterFindingCriteriaPtrOutputWithContext(ctx context.Context) FilterFindingCriteriaPtrOutput

type FilterInput

type FilterInput interface {
	pulumi.Input

	ToFilterOutput() FilterOutput
	ToFilterOutputWithContext(ctx context.Context) FilterOutput
}

type FilterMap

type FilterMap map[string]FilterInput

func (FilterMap) ElementType

func (FilterMap) ElementType() reflect.Type

func (FilterMap) ToFilterMapOutput

func (i FilterMap) ToFilterMapOutput() FilterMapOutput

func (FilterMap) ToFilterMapOutputWithContext

func (i FilterMap) ToFilterMapOutputWithContext(ctx context.Context) FilterMapOutput

type FilterMapInput

type FilterMapInput interface {
	pulumi.Input

	ToFilterMapOutput() FilterMapOutput
	ToFilterMapOutputWithContext(context.Context) FilterMapOutput
}

FilterMapInput is an input type that accepts FilterMap and FilterMapOutput values. You can construct a concrete instance of `FilterMapInput` via:

FilterMap{ "key": FilterArgs{...} }

type FilterMapOutput

type FilterMapOutput struct{ *pulumi.OutputState }

func (FilterMapOutput) ElementType

func (FilterMapOutput) ElementType() reflect.Type

func (FilterMapOutput) MapIndex

func (FilterMapOutput) ToFilterMapOutput

func (o FilterMapOutput) ToFilterMapOutput() FilterMapOutput

func (FilterMapOutput) ToFilterMapOutputWithContext

func (o FilterMapOutput) ToFilterMapOutputWithContext(ctx context.Context) FilterMapOutput

type FilterOutput

type FilterOutput struct{ *pulumi.OutputState }

func (FilterOutput) Action

func (o FilterOutput) Action() pulumi.StringOutput

Specifies the action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.

func (FilterOutput) Arn

The ARN of the GuardDuty filter.

func (FilterOutput) Description

func (o FilterOutput) Description() pulumi.StringPtrOutput

Description of the filter.

func (FilterOutput) DetectorId

func (o FilterOutput) DetectorId() pulumi.StringOutput

ID of a GuardDuty detector, attached to your account.

func (FilterOutput) ElementType

func (FilterOutput) ElementType() reflect.Type

func (FilterOutput) FindingCriteria

func (o FilterOutput) FindingCriteria() FilterFindingCriteriaOutput

Represents the criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.

func (FilterOutput) Name

func (o FilterOutput) Name() pulumi.StringOutput

The name of your filter.

func (FilterOutput) Rank

func (o FilterOutput) Rank() pulumi.IntOutput

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

func (FilterOutput) Tags

The tags that you want to add to the Filter resource. A tag consists of a key and a value. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (FilterOutput) TagsAll deprecated

func (o FilterOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (FilterOutput) ToFilterOutput

func (o FilterOutput) ToFilterOutput() FilterOutput

func (FilterOutput) ToFilterOutputWithContext

func (o FilterOutput) ToFilterOutputWithContext(ctx context.Context) FilterOutput

type FilterState

type FilterState struct {
	// Specifies the action that is to be applied to the findings that match the filter. Can be one of `ARCHIVE` or `NOOP`.
	Action pulumi.StringPtrInput
	// The ARN of the GuardDuty filter.
	Arn pulumi.StringPtrInput
	// Description of the filter.
	Description pulumi.StringPtrInput
	// ID of a GuardDuty detector, attached to your account.
	DetectorId pulumi.StringPtrInput
	// Represents the criteria to be used in the filter for querying findings. Contains one or more `criterion` blocks, documented below.
	FindingCriteria FilterFindingCriteriaPtrInput
	// The name of your filter.
	Name pulumi.StringPtrInput
	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	Rank pulumi.IntPtrInput
	// The tags that you want to add to the Filter resource. A tag consists of a key and a value. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (FilterState) ElementType

func (FilterState) ElementType() reflect.Type

type GetDetectorFeatureAdditionalConfiguration added in v6.5.0

type GetDetectorFeatureAdditionalConfiguration struct {
	// The name of the detector feature.
	Name string `pulumi:"name"`
	// Current status of the detector.
	Status string `pulumi:"status"`
}

type GetDetectorFeatureAdditionalConfigurationArgs added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationArgs struct {
	// The name of the detector feature.
	Name pulumi.StringInput `pulumi:"name"`
	// Current status of the detector.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetDetectorFeatureAdditionalConfigurationArgs) ElementType added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutput added in v6.5.0

func (i GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutput() GetDetectorFeatureAdditionalConfigurationOutput

func (GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext added in v6.5.0

func (i GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) GetDetectorFeatureAdditionalConfigurationOutput

type GetDetectorFeatureAdditionalConfigurationArray added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationArray []GetDetectorFeatureAdditionalConfigurationInput

func (GetDetectorFeatureAdditionalConfigurationArray) ElementType added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

func (i GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutput() GetDetectorFeatureAdditionalConfigurationArrayOutput

func (GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext added in v6.5.0

func (i GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) GetDetectorFeatureAdditionalConfigurationArrayOutput

type GetDetectorFeatureAdditionalConfigurationArrayInput added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationArrayInput interface {
	pulumi.Input

	ToGetDetectorFeatureAdditionalConfigurationArrayOutput() GetDetectorFeatureAdditionalConfigurationArrayOutput
	ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext(context.Context) GetDetectorFeatureAdditionalConfigurationArrayOutput
}

GetDetectorFeatureAdditionalConfigurationArrayInput is an input type that accepts GetDetectorFeatureAdditionalConfigurationArray and GetDetectorFeatureAdditionalConfigurationArrayOutput values. You can construct a concrete instance of `GetDetectorFeatureAdditionalConfigurationArrayInput` via:

GetDetectorFeatureAdditionalConfigurationArray{ GetDetectorFeatureAdditionalConfigurationArgs{...} }

type GetDetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ElementType added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) Index added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ToGetDetectorFeatureAdditionalConfigurationArrayOutput added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext added in v6.5.0

func (o GetDetectorFeatureAdditionalConfigurationArrayOutput) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) GetDetectorFeatureAdditionalConfigurationArrayOutput

type GetDetectorFeatureAdditionalConfigurationInput added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationInput interface {
	pulumi.Input

	ToGetDetectorFeatureAdditionalConfigurationOutput() GetDetectorFeatureAdditionalConfigurationOutput
	ToGetDetectorFeatureAdditionalConfigurationOutputWithContext(context.Context) GetDetectorFeatureAdditionalConfigurationOutput
}

GetDetectorFeatureAdditionalConfigurationInput is an input type that accepts GetDetectorFeatureAdditionalConfigurationArgs and GetDetectorFeatureAdditionalConfigurationOutput values. You can construct a concrete instance of `GetDetectorFeatureAdditionalConfigurationInput` via:

GetDetectorFeatureAdditionalConfigurationArgs{...}

type GetDetectorFeatureAdditionalConfigurationOutput added in v6.5.0

type GetDetectorFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureAdditionalConfigurationOutput) ElementType added in v6.5.0

func (GetDetectorFeatureAdditionalConfigurationOutput) Name added in v6.5.0

The name of the detector feature.

func (GetDetectorFeatureAdditionalConfigurationOutput) Status added in v6.5.0

Current status of the detector.

func (GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutput added in v6.5.0

func (o GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutput() GetDetectorFeatureAdditionalConfigurationOutput

func (GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext added in v6.5.0

func (o GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) GetDetectorFeatureAdditionalConfigurationOutput

type GetDetectorFeatureType added in v6.5.0

type GetDetectorFeatureType struct {
	// Additional feature configuration.
	AdditionalConfigurations []GetDetectorFeatureAdditionalConfiguration `pulumi:"additionalConfigurations"`
	// The name of the detector feature.
	Name string `pulumi:"name"`
	// Current status of the detector.
	Status string `pulumi:"status"`
}

type GetDetectorFeatureTypeArgs added in v6.5.0

type GetDetectorFeatureTypeArgs struct {
	// Additional feature configuration.
	AdditionalConfigurations GetDetectorFeatureAdditionalConfigurationArrayInput `pulumi:"additionalConfigurations"`
	// The name of the detector feature.
	Name pulumi.StringInput `pulumi:"name"`
	// Current status of the detector.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetDetectorFeatureTypeArgs) ElementType added in v6.5.0

func (GetDetectorFeatureTypeArgs) ElementType() reflect.Type

func (GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutput added in v6.5.0

func (i GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutput() GetDetectorFeatureTypeOutput

func (GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutputWithContext added in v6.5.0

func (i GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutputWithContext(ctx context.Context) GetDetectorFeatureTypeOutput

type GetDetectorFeatureTypeArray added in v6.5.0

type GetDetectorFeatureTypeArray []GetDetectorFeatureTypeInput

func (GetDetectorFeatureTypeArray) ElementType added in v6.5.0

func (GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutput added in v6.5.0

func (i GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutput() GetDetectorFeatureTypeArrayOutput

func (GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutputWithContext added in v6.5.0

func (i GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutputWithContext(ctx context.Context) GetDetectorFeatureTypeArrayOutput

type GetDetectorFeatureTypeArrayInput added in v6.5.0

type GetDetectorFeatureTypeArrayInput interface {
	pulumi.Input

	ToGetDetectorFeatureTypeArrayOutput() GetDetectorFeatureTypeArrayOutput
	ToGetDetectorFeatureTypeArrayOutputWithContext(context.Context) GetDetectorFeatureTypeArrayOutput
}

GetDetectorFeatureTypeArrayInput is an input type that accepts GetDetectorFeatureTypeArray and GetDetectorFeatureTypeArrayOutput values. You can construct a concrete instance of `GetDetectorFeatureTypeArrayInput` via:

GetDetectorFeatureTypeArray{ GetDetectorFeatureTypeArgs{...} }

type GetDetectorFeatureTypeArrayOutput added in v6.5.0

type GetDetectorFeatureTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureTypeArrayOutput) ElementType added in v6.5.0

func (GetDetectorFeatureTypeArrayOutput) Index added in v6.5.0

func (GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutput added in v6.5.0

func (o GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutput() GetDetectorFeatureTypeArrayOutput

func (GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutputWithContext added in v6.5.0

func (o GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutputWithContext(ctx context.Context) GetDetectorFeatureTypeArrayOutput

type GetDetectorFeatureTypeInput added in v6.5.0

type GetDetectorFeatureTypeInput interface {
	pulumi.Input

	ToGetDetectorFeatureTypeOutput() GetDetectorFeatureTypeOutput
	ToGetDetectorFeatureTypeOutputWithContext(context.Context) GetDetectorFeatureTypeOutput
}

GetDetectorFeatureTypeInput is an input type that accepts GetDetectorFeatureTypeArgs and GetDetectorFeatureTypeOutput values. You can construct a concrete instance of `GetDetectorFeatureTypeInput` via:

GetDetectorFeatureTypeArgs{...}

type GetDetectorFeatureTypeOutput added in v6.5.0

type GetDetectorFeatureTypeOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureTypeOutput) AdditionalConfigurations added in v6.5.0

Additional feature configuration.

func (GetDetectorFeatureTypeOutput) ElementType added in v6.5.0

func (GetDetectorFeatureTypeOutput) Name added in v6.5.0

The name of the detector feature.

func (GetDetectorFeatureTypeOutput) Status added in v6.5.0

Current status of the detector.

func (GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutput added in v6.5.0

func (o GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutput() GetDetectorFeatureTypeOutput

func (GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutputWithContext added in v6.5.0

func (o GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutputWithContext(ctx context.Context) GetDetectorFeatureTypeOutput

type GetFindingIdsArgs

type GetFindingIdsArgs struct {
	// ID of the GuardDuty detector.
	DetectorId string `pulumi:"detectorId"`
}

A collection of arguments for invoking getFindingIds.

type GetFindingIdsOutputArgs

type GetFindingIdsOutputArgs struct {
	// ID of the GuardDuty detector.
	DetectorId pulumi.StringInput `pulumi:"detectorId"`
}

A collection of arguments for invoking getFindingIds.

func (GetFindingIdsOutputArgs) ElementType

func (GetFindingIdsOutputArgs) ElementType() reflect.Type

type GetFindingIdsResult

type GetFindingIdsResult struct {
	DetectorId string `pulumi:"detectorId"`
	// A list of finding IDs for the specified detector.
	FindingIds []string `pulumi:"findingIds"`
	// Indicates whether findings are present for the specified detector.
	HasFindings bool   `pulumi:"hasFindings"`
	Id          string `pulumi:"id"`
}

A collection of values returned by getFindingIds.

func GetFindingIds

func GetFindingIds(ctx *pulumi.Context, args *GetFindingIdsArgs, opts ...pulumi.InvokeOption) (*GetFindingIdsResult, error)

Data source for managing an AWS GuardDuty Finding Ids.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := guardduty.GetFindingIds(ctx, &guardduty.GetFindingIdsArgs{
			DetectorId: aws_guardduty_detector.Example.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetFindingIdsResultOutput

type GetFindingIdsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFindingIds.

func (GetFindingIdsResultOutput) DetectorId

func (GetFindingIdsResultOutput) ElementType

func (GetFindingIdsResultOutput) ElementType() reflect.Type

func (GetFindingIdsResultOutput) FindingIds

A list of finding IDs for the specified detector.

func (GetFindingIdsResultOutput) HasFindings

Indicates whether findings are present for the specified detector.

func (GetFindingIdsResultOutput) Id

func (GetFindingIdsResultOutput) ToGetFindingIdsResultOutput

func (o GetFindingIdsResultOutput) ToGetFindingIdsResultOutput() GetFindingIdsResultOutput

func (GetFindingIdsResultOutput) ToGetFindingIdsResultOutputWithContext

func (o GetFindingIdsResultOutput) ToGetFindingIdsResultOutputWithContext(ctx context.Context) GetFindingIdsResultOutput

type IPSet

type IPSet struct {
	pulumi.CustomResourceState

	// Specifies whether GuardDuty is to start using the uploaded IPSet.
	Activate pulumi.BoolOutput `pulumi:"activate"`
	// Amazon Resource Name (ARN) of the GuardDuty IPSet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringOutput `pulumi:"format"`
	// The URI of the file that contains the IPSet.
	Location pulumi.StringOutput `pulumi:"location"`
	// The friendly name to identify the IPSet.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage a GuardDuty IPSet.

> **Note:** Currently in GuardDuty, users from member accounts cannot upload and further manage IPSets. IPSets that are uploaded by the primary account are imposed on GuardDuty functionality in its member accounts. See the [GuardDuty API Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/create-ip-set.html)

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := guardduty.NewDetector(ctx, "primary", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		bucket, err := s3.NewBucketV2(ctx, "bucket", nil)
		if err != nil {
			return err
		}
		myIPSet, err := s3.NewBucketObjectv2(ctx, "myIPSet", &s3.BucketObjectv2Args{
			Content: pulumi.String("10.0.0.0/8\n"),
			Bucket:  bucket.ID(),
			Key:     pulumi.String("MyIPSet"),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewIPSet(ctx, "example", &guardduty.IPSetArgs{
			Activate:   pulumi.Bool(true),
			DetectorId: primary.ID(),
			Format:     pulumi.String("TXT"),
			Location: pulumi.All(myIPSet.Bucket, myIPSet.Key).ApplyT(func(_args []interface{}) (string, error) {
				bucket := _args[0].(string)
				key := _args[1].(string)
				return fmt.Sprintf("https://s3.amazonaws.com/%v/%v", bucket, key), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "bucketAcl", &s3.BucketAclV2Args{
			Bucket: bucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty IPSet using the primary GuardDuty detector ID and IPSet ID. For example:

```sh

$ pulumi import aws:guardduty/iPSet:IPSet MyIPSet 00b00fd5aecc0ab60a708659477e9617:123456789012

```

func GetIPSet

func GetIPSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IPSetState, opts ...pulumi.ResourceOption) (*IPSet, error)

GetIPSet gets an existing IPSet 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 NewIPSet

func NewIPSet(ctx *pulumi.Context,
	name string, args *IPSetArgs, opts ...pulumi.ResourceOption) (*IPSet, error)

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

func (*IPSet) ElementType

func (*IPSet) ElementType() reflect.Type

func (*IPSet) ToIPSetOutput

func (i *IPSet) ToIPSetOutput() IPSetOutput

func (*IPSet) ToIPSetOutputWithContext

func (i *IPSet) ToIPSetOutputWithContext(ctx context.Context) IPSetOutput

type IPSetArgs

type IPSetArgs struct {
	// Specifies whether GuardDuty is to start using the uploaded IPSet.
	Activate pulumi.BoolInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringInput
	// The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringInput
	// The URI of the file that contains the IPSet.
	Location pulumi.StringInput
	// The friendly name to identify the IPSet.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a IPSet resource.

func (IPSetArgs) ElementType

func (IPSetArgs) ElementType() reflect.Type

type IPSetArray

type IPSetArray []IPSetInput

func (IPSetArray) ElementType

func (IPSetArray) ElementType() reflect.Type

func (IPSetArray) ToIPSetArrayOutput

func (i IPSetArray) ToIPSetArrayOutput() IPSetArrayOutput

func (IPSetArray) ToIPSetArrayOutputWithContext

func (i IPSetArray) ToIPSetArrayOutputWithContext(ctx context.Context) IPSetArrayOutput

type IPSetArrayInput

type IPSetArrayInput interface {
	pulumi.Input

	ToIPSetArrayOutput() IPSetArrayOutput
	ToIPSetArrayOutputWithContext(context.Context) IPSetArrayOutput
}

IPSetArrayInput is an input type that accepts IPSetArray and IPSetArrayOutput values. You can construct a concrete instance of `IPSetArrayInput` via:

IPSetArray{ IPSetArgs{...} }

type IPSetArrayOutput

type IPSetArrayOutput struct{ *pulumi.OutputState }

func (IPSetArrayOutput) ElementType

func (IPSetArrayOutput) ElementType() reflect.Type

func (IPSetArrayOutput) Index

func (IPSetArrayOutput) ToIPSetArrayOutput

func (o IPSetArrayOutput) ToIPSetArrayOutput() IPSetArrayOutput

func (IPSetArrayOutput) ToIPSetArrayOutputWithContext

func (o IPSetArrayOutput) ToIPSetArrayOutputWithContext(ctx context.Context) IPSetArrayOutput

type IPSetInput

type IPSetInput interface {
	pulumi.Input

	ToIPSetOutput() IPSetOutput
	ToIPSetOutputWithContext(ctx context.Context) IPSetOutput
}

type IPSetMap

type IPSetMap map[string]IPSetInput

func (IPSetMap) ElementType

func (IPSetMap) ElementType() reflect.Type

func (IPSetMap) ToIPSetMapOutput

func (i IPSetMap) ToIPSetMapOutput() IPSetMapOutput

func (IPSetMap) ToIPSetMapOutputWithContext

func (i IPSetMap) ToIPSetMapOutputWithContext(ctx context.Context) IPSetMapOutput

type IPSetMapInput

type IPSetMapInput interface {
	pulumi.Input

	ToIPSetMapOutput() IPSetMapOutput
	ToIPSetMapOutputWithContext(context.Context) IPSetMapOutput
}

IPSetMapInput is an input type that accepts IPSetMap and IPSetMapOutput values. You can construct a concrete instance of `IPSetMapInput` via:

IPSetMap{ "key": IPSetArgs{...} }

type IPSetMapOutput

type IPSetMapOutput struct{ *pulumi.OutputState }

func (IPSetMapOutput) ElementType

func (IPSetMapOutput) ElementType() reflect.Type

func (IPSetMapOutput) MapIndex

func (IPSetMapOutput) ToIPSetMapOutput

func (o IPSetMapOutput) ToIPSetMapOutput() IPSetMapOutput

func (IPSetMapOutput) ToIPSetMapOutputWithContext

func (o IPSetMapOutput) ToIPSetMapOutputWithContext(ctx context.Context) IPSetMapOutput

type IPSetOutput

type IPSetOutput struct{ *pulumi.OutputState }

func (IPSetOutput) Activate

func (o IPSetOutput) Activate() pulumi.BoolOutput

Specifies whether GuardDuty is to start using the uploaded IPSet.

func (IPSetOutput) Arn

Amazon Resource Name (ARN) of the GuardDuty IPSet.

func (IPSetOutput) DetectorId

func (o IPSetOutput) DetectorId() pulumi.StringOutput

The detector ID of the GuardDuty.

func (IPSetOutput) ElementType

func (IPSetOutput) ElementType() reflect.Type

func (IPSetOutput) Format

func (o IPSetOutput) Format() pulumi.StringOutput

The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`

func (IPSetOutput) Location

func (o IPSetOutput) Location() pulumi.StringOutput

The URI of the file that contains the IPSet.

func (IPSetOutput) Name

func (o IPSetOutput) Name() pulumi.StringOutput

The friendly name to identify the IPSet.

func (IPSetOutput) Tags

Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (IPSetOutput) TagsAll deprecated

func (o IPSetOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (IPSetOutput) ToIPSetOutput

func (o IPSetOutput) ToIPSetOutput() IPSetOutput

func (IPSetOutput) ToIPSetOutputWithContext

func (o IPSetOutput) ToIPSetOutputWithContext(ctx context.Context) IPSetOutput

type IPSetState

type IPSetState struct {
	// Specifies whether GuardDuty is to start using the uploaded IPSet.
	Activate pulumi.BoolPtrInput
	// Amazon Resource Name (ARN) of the GuardDuty IPSet.
	Arn pulumi.StringPtrInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringPtrInput
	// The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringPtrInput
	// The URI of the file that contains the IPSet.
	Location pulumi.StringPtrInput
	// The friendly name to identify the IPSet.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (IPSetState) ElementType

func (IPSetState) ElementType() reflect.Type

type InviteAccepter

type InviteAccepter struct {
	pulumi.CustomResourceState

	// The detector ID of the member GuardDuty account.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// AWS account ID for primary account.
	MasterAccountId pulumi.StringOutput `pulumi:"masterAccountId"`
}

Provides a resource to accept a pending GuardDuty invite on creation, ensure the detector has the correct primary account on read, and disassociate with the primary account upon removal.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aws.NewProvider(ctx, "primary", nil)
		if err != nil {
			return err
		}
		_, err = aws.NewProvider(ctx, "member", nil)
		if err != nil {
			return err
		}
		primaryDetector, err := guardduty.NewDetector(ctx, "primaryDetector", nil, pulumi.Provider(aws.Primary))
		if err != nil {
			return err
		}
		memberDetector, err := guardduty.NewDetector(ctx, "memberDetector", nil, pulumi.Provider(aws.Member))
		if err != nil {
			return err
		}
		memberMember, err := guardduty.NewMember(ctx, "memberMember", &guardduty.MemberArgs{
			AccountId:  memberDetector.AccountId,
			DetectorId: primaryDetector.ID(),
			Email:      pulumi.String("required@example.com"),
			Invite:     pulumi.Bool(true),
		}, pulumi.Provider(aws.Primary))
		if err != nil {
			return err
		}
		_, err = guardduty.NewInviteAccepter(ctx, "memberInviteAccepter", &guardduty.InviteAccepterArgs{
			DetectorId:      memberDetector.ID(),
			MasterAccountId: primaryDetector.AccountId,
		}, pulumi.Provider(aws.Member), pulumi.DependsOn([]pulumi.Resource{
			memberMember,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_guardduty_invite_accepter` using the member GuardDuty detector ID. For example:

```sh

$ pulumi import aws:guardduty/inviteAccepter:InviteAccepter member 00b00fd5aecc0ab60a708659477e9617

```

func GetInviteAccepter

func GetInviteAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InviteAccepterState, opts ...pulumi.ResourceOption) (*InviteAccepter, error)

GetInviteAccepter gets an existing InviteAccepter 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 NewInviteAccepter

func NewInviteAccepter(ctx *pulumi.Context,
	name string, args *InviteAccepterArgs, opts ...pulumi.ResourceOption) (*InviteAccepter, error)

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

func (*InviteAccepter) ElementType

func (*InviteAccepter) ElementType() reflect.Type

func (*InviteAccepter) ToInviteAccepterOutput

func (i *InviteAccepter) ToInviteAccepterOutput() InviteAccepterOutput

func (*InviteAccepter) ToInviteAccepterOutputWithContext

func (i *InviteAccepter) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput

type InviteAccepterArgs

type InviteAccepterArgs struct {
	// The detector ID of the member GuardDuty account.
	DetectorId pulumi.StringInput
	// AWS account ID for primary account.
	MasterAccountId pulumi.StringInput
}

The set of arguments for constructing a InviteAccepter resource.

func (InviteAccepterArgs) ElementType

func (InviteAccepterArgs) ElementType() reflect.Type

type InviteAccepterArray

type InviteAccepterArray []InviteAccepterInput

func (InviteAccepterArray) ElementType

func (InviteAccepterArray) ElementType() reflect.Type

func (InviteAccepterArray) ToInviteAccepterArrayOutput

func (i InviteAccepterArray) ToInviteAccepterArrayOutput() InviteAccepterArrayOutput

func (InviteAccepterArray) ToInviteAccepterArrayOutputWithContext

func (i InviteAccepterArray) ToInviteAccepterArrayOutputWithContext(ctx context.Context) InviteAccepterArrayOutput

type InviteAccepterArrayInput

type InviteAccepterArrayInput interface {
	pulumi.Input

	ToInviteAccepterArrayOutput() InviteAccepterArrayOutput
	ToInviteAccepterArrayOutputWithContext(context.Context) InviteAccepterArrayOutput
}

InviteAccepterArrayInput is an input type that accepts InviteAccepterArray and InviteAccepterArrayOutput values. You can construct a concrete instance of `InviteAccepterArrayInput` via:

InviteAccepterArray{ InviteAccepterArgs{...} }

type InviteAccepterArrayOutput

type InviteAccepterArrayOutput struct{ *pulumi.OutputState }

func (InviteAccepterArrayOutput) ElementType

func (InviteAccepterArrayOutput) ElementType() reflect.Type

func (InviteAccepterArrayOutput) Index

func (InviteAccepterArrayOutput) ToInviteAccepterArrayOutput

func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutput() InviteAccepterArrayOutput

func (InviteAccepterArrayOutput) ToInviteAccepterArrayOutputWithContext

func (o InviteAccepterArrayOutput) ToInviteAccepterArrayOutputWithContext(ctx context.Context) InviteAccepterArrayOutput

type InviteAccepterInput

type InviteAccepterInput interface {
	pulumi.Input

	ToInviteAccepterOutput() InviteAccepterOutput
	ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput
}

type InviteAccepterMap

type InviteAccepterMap map[string]InviteAccepterInput

func (InviteAccepterMap) ElementType

func (InviteAccepterMap) ElementType() reflect.Type

func (InviteAccepterMap) ToInviteAccepterMapOutput

func (i InviteAccepterMap) ToInviteAccepterMapOutput() InviteAccepterMapOutput

func (InviteAccepterMap) ToInviteAccepterMapOutputWithContext

func (i InviteAccepterMap) ToInviteAccepterMapOutputWithContext(ctx context.Context) InviteAccepterMapOutput

type InviteAccepterMapInput

type InviteAccepterMapInput interface {
	pulumi.Input

	ToInviteAccepterMapOutput() InviteAccepterMapOutput
	ToInviteAccepterMapOutputWithContext(context.Context) InviteAccepterMapOutput
}

InviteAccepterMapInput is an input type that accepts InviteAccepterMap and InviteAccepterMapOutput values. You can construct a concrete instance of `InviteAccepterMapInput` via:

InviteAccepterMap{ "key": InviteAccepterArgs{...} }

type InviteAccepterMapOutput

type InviteAccepterMapOutput struct{ *pulumi.OutputState }

func (InviteAccepterMapOutput) ElementType

func (InviteAccepterMapOutput) ElementType() reflect.Type

func (InviteAccepterMapOutput) MapIndex

func (InviteAccepterMapOutput) ToInviteAccepterMapOutput

func (o InviteAccepterMapOutput) ToInviteAccepterMapOutput() InviteAccepterMapOutput

func (InviteAccepterMapOutput) ToInviteAccepterMapOutputWithContext

func (o InviteAccepterMapOutput) ToInviteAccepterMapOutputWithContext(ctx context.Context) InviteAccepterMapOutput

type InviteAccepterOutput

type InviteAccepterOutput struct{ *pulumi.OutputState }

func (InviteAccepterOutput) DetectorId

func (o InviteAccepterOutput) DetectorId() pulumi.StringOutput

The detector ID of the member GuardDuty account.

func (InviteAccepterOutput) ElementType

func (InviteAccepterOutput) ElementType() reflect.Type

func (InviteAccepterOutput) MasterAccountId

func (o InviteAccepterOutput) MasterAccountId() pulumi.StringOutput

AWS account ID for primary account.

func (InviteAccepterOutput) ToInviteAccepterOutput

func (o InviteAccepterOutput) ToInviteAccepterOutput() InviteAccepterOutput

func (InviteAccepterOutput) ToInviteAccepterOutputWithContext

func (o InviteAccepterOutput) ToInviteAccepterOutputWithContext(ctx context.Context) InviteAccepterOutput

type InviteAccepterState

type InviteAccepterState struct {
	// The detector ID of the member GuardDuty account.
	DetectorId pulumi.StringPtrInput
	// AWS account ID for primary account.
	MasterAccountId pulumi.StringPtrInput
}

func (InviteAccepterState) ElementType

func (InviteAccepterState) ElementType() reflect.Type

type LookupDetectorArgs

type LookupDetectorArgs struct {
	// ID of the detector.
	Id *string `pulumi:"id"`
}

A collection of arguments for invoking getDetector.

type LookupDetectorOutputArgs

type LookupDetectorOutputArgs struct {
	// ID of the detector.
	Id pulumi.StringPtrInput `pulumi:"id"`
}

A collection of arguments for invoking getDetector.

func (LookupDetectorOutputArgs) ElementType

func (LookupDetectorOutputArgs) ElementType() reflect.Type

type LookupDetectorResult

type LookupDetectorResult struct {
	// Current configuration of the detector features.
	Features []GetDetectorFeatureType `pulumi:"features"`
	// The frequency of notifications sent about subsequent finding occurrences.
	FindingPublishingFrequency string `pulumi:"findingPublishingFrequency"`
	Id                         string `pulumi:"id"`
	// Service-linked role that grants GuardDuty access to the resources in the AWS account.
	ServiceRoleArn string `pulumi:"serviceRoleArn"`
	// Current status of the detector.
	Status string `pulumi:"status"`
}

A collection of values returned by getDetector.

func LookupDetector

func LookupDetector(ctx *pulumi.Context, args *LookupDetectorArgs, opts ...pulumi.InvokeOption) (*LookupDetectorResult, error)

Retrieve information about a GuardDuty detector.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := guardduty.LookupDetector(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDetectorResultOutput

type LookupDetectorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDetector.

func (LookupDetectorResultOutput) ElementType

func (LookupDetectorResultOutput) ElementType() reflect.Type

func (LookupDetectorResultOutput) Features added in v6.5.0

Current configuration of the detector features.

func (LookupDetectorResultOutput) FindingPublishingFrequency

func (o LookupDetectorResultOutput) FindingPublishingFrequency() pulumi.StringOutput

The frequency of notifications sent about subsequent finding occurrences.

func (LookupDetectorResultOutput) Id

func (LookupDetectorResultOutput) ServiceRoleArn

func (o LookupDetectorResultOutput) ServiceRoleArn() pulumi.StringOutput

Service-linked role that grants GuardDuty access to the resources in the AWS account.

func (LookupDetectorResultOutput) Status

Current status of the detector.

func (LookupDetectorResultOutput) ToLookupDetectorResultOutput

func (o LookupDetectorResultOutput) ToLookupDetectorResultOutput() LookupDetectorResultOutput

func (LookupDetectorResultOutput) ToLookupDetectorResultOutputWithContext

func (o LookupDetectorResultOutput) ToLookupDetectorResultOutputWithContext(ctx context.Context) LookupDetectorResultOutput

type Member

type Member struct {
	pulumi.CustomResourceState

	// AWS account ID for member account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// The detector ID of the GuardDuty account where you want to create member accounts.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// Boolean whether an email notification is sent to the accounts. Defaults to `false`.
	DisableEmailNotification pulumi.BoolPtrOutput `pulumi:"disableEmailNotification"`
	// Email address for member account.
	Email pulumi.StringOutput `pulumi:"email"`
	// Message for invitation.
	InvitationMessage pulumi.StringPtrOutput `pulumi:"invitationMessage"`
	// Boolean whether to invite the account to GuardDuty as a member. Defaults to `false`. To detect if an invitation needs to be (re-)sent, the this provider state value is `true` based on a `relationshipStatus` of `Disabled`, `Enabled`, `Invited`, or `EmailVerificationInProgress`.
	Invite pulumi.BoolPtrOutput `pulumi:"invite"`
	// The status of the relationship between the member account and its primary account. More information can be found in [Amazon GuardDuty API Reference](https://docs.aws.amazon.com/guardduty/latest/ug/get-members.html).
	RelationshipStatus pulumi.StringOutput `pulumi:"relationshipStatus"`
}

Provides a resource to manage a GuardDuty member. To accept invitations in member accounts, see the `guardduty.InviteAccepter` resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := guardduty.NewDetector(ctx, "primary", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		memberDetector, err := guardduty.NewDetector(ctx, "memberDetector", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		}, pulumi.Provider(aws.Dev))
		if err != nil {
			return err
		}
		_, err = guardduty.NewMember(ctx, "memberMember", &guardduty.MemberArgs{
			AccountId:         memberDetector.AccountId,
			DetectorId:        primary.ID(),
			Email:             pulumi.String("required@example.com"),
			Invite:            pulumi.Bool(true),
			InvitationMessage: pulumi.String("please accept guardduty invitation"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty members using the primary GuardDuty detector ID and member AWS account ID. For example:

```sh

$ pulumi import aws:guardduty/member:Member MyMember 00b00fd5aecc0ab60a708659477e9617:123456789012

```

func GetMember

func GetMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MemberState, opts ...pulumi.ResourceOption) (*Member, error)

GetMember gets an existing Member 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 NewMember

func NewMember(ctx *pulumi.Context,
	name string, args *MemberArgs, opts ...pulumi.ResourceOption) (*Member, error)

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

func (*Member) ElementType

func (*Member) ElementType() reflect.Type

func (*Member) ToMemberOutput

func (i *Member) ToMemberOutput() MemberOutput

func (*Member) ToMemberOutputWithContext

func (i *Member) ToMemberOutputWithContext(ctx context.Context) MemberOutput

type MemberArgs

type MemberArgs struct {
	// AWS account ID for member account.
	AccountId pulumi.StringInput
	// The detector ID of the GuardDuty account where you want to create member accounts.
	DetectorId pulumi.StringInput
	// Boolean whether an email notification is sent to the accounts. Defaults to `false`.
	DisableEmailNotification pulumi.BoolPtrInput
	// Email address for member account.
	Email pulumi.StringInput
	// Message for invitation.
	InvitationMessage pulumi.StringPtrInput
	// Boolean whether to invite the account to GuardDuty as a member. Defaults to `false`. To detect if an invitation needs to be (re-)sent, the this provider state value is `true` based on a `relationshipStatus` of `Disabled`, `Enabled`, `Invited`, or `EmailVerificationInProgress`.
	Invite pulumi.BoolPtrInput
}

The set of arguments for constructing a Member resource.

func (MemberArgs) ElementType

func (MemberArgs) ElementType() reflect.Type

type MemberArray

type MemberArray []MemberInput

func (MemberArray) ElementType

func (MemberArray) ElementType() reflect.Type

func (MemberArray) ToMemberArrayOutput

func (i MemberArray) ToMemberArrayOutput() MemberArrayOutput

func (MemberArray) ToMemberArrayOutputWithContext

func (i MemberArray) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput

type MemberArrayInput

type MemberArrayInput interface {
	pulumi.Input

	ToMemberArrayOutput() MemberArrayOutput
	ToMemberArrayOutputWithContext(context.Context) MemberArrayOutput
}

MemberArrayInput is an input type that accepts MemberArray and MemberArrayOutput values. You can construct a concrete instance of `MemberArrayInput` via:

MemberArray{ MemberArgs{...} }

type MemberArrayOutput

type MemberArrayOutput struct{ *pulumi.OutputState }

func (MemberArrayOutput) ElementType

func (MemberArrayOutput) ElementType() reflect.Type

func (MemberArrayOutput) Index

func (MemberArrayOutput) ToMemberArrayOutput

func (o MemberArrayOutput) ToMemberArrayOutput() MemberArrayOutput

func (MemberArrayOutput) ToMemberArrayOutputWithContext

func (o MemberArrayOutput) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput

type MemberInput

type MemberInput interface {
	pulumi.Input

	ToMemberOutput() MemberOutput
	ToMemberOutputWithContext(ctx context.Context) MemberOutput
}

type MemberMap

type MemberMap map[string]MemberInput

func (MemberMap) ElementType

func (MemberMap) ElementType() reflect.Type

func (MemberMap) ToMemberMapOutput

func (i MemberMap) ToMemberMapOutput() MemberMapOutput

func (MemberMap) ToMemberMapOutputWithContext

func (i MemberMap) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput

type MemberMapInput

type MemberMapInput interface {
	pulumi.Input

	ToMemberMapOutput() MemberMapOutput
	ToMemberMapOutputWithContext(context.Context) MemberMapOutput
}

MemberMapInput is an input type that accepts MemberMap and MemberMapOutput values. You can construct a concrete instance of `MemberMapInput` via:

MemberMap{ "key": MemberArgs{...} }

type MemberMapOutput

type MemberMapOutput struct{ *pulumi.OutputState }

func (MemberMapOutput) ElementType

func (MemberMapOutput) ElementType() reflect.Type

func (MemberMapOutput) MapIndex

func (MemberMapOutput) ToMemberMapOutput

func (o MemberMapOutput) ToMemberMapOutput() MemberMapOutput

func (MemberMapOutput) ToMemberMapOutputWithContext

func (o MemberMapOutput) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput

type MemberOutput

type MemberOutput struct{ *pulumi.OutputState }

func (MemberOutput) AccountId

func (o MemberOutput) AccountId() pulumi.StringOutput

AWS account ID for member account.

func (MemberOutput) DetectorId

func (o MemberOutput) DetectorId() pulumi.StringOutput

The detector ID of the GuardDuty account where you want to create member accounts.

func (MemberOutput) DisableEmailNotification

func (o MemberOutput) DisableEmailNotification() pulumi.BoolPtrOutput

Boolean whether an email notification is sent to the accounts. Defaults to `false`.

func (MemberOutput) ElementType

func (MemberOutput) ElementType() reflect.Type

func (MemberOutput) Email

func (o MemberOutput) Email() pulumi.StringOutput

Email address for member account.

func (MemberOutput) InvitationMessage

func (o MemberOutput) InvitationMessage() pulumi.StringPtrOutput

Message for invitation.

func (MemberOutput) Invite

func (o MemberOutput) Invite() pulumi.BoolPtrOutput

Boolean whether to invite the account to GuardDuty as a member. Defaults to `false`. To detect if an invitation needs to be (re-)sent, the this provider state value is `true` based on a `relationshipStatus` of `Disabled`, `Enabled`, `Invited`, or `EmailVerificationInProgress`.

func (MemberOutput) RelationshipStatus

func (o MemberOutput) RelationshipStatus() pulumi.StringOutput

The status of the relationship between the member account and its primary account. More information can be found in [Amazon GuardDuty API Reference](https://docs.aws.amazon.com/guardduty/latest/ug/get-members.html).

func (MemberOutput) ToMemberOutput

func (o MemberOutput) ToMemberOutput() MemberOutput

func (MemberOutput) ToMemberOutputWithContext

func (o MemberOutput) ToMemberOutputWithContext(ctx context.Context) MemberOutput

type MemberState

type MemberState struct {
	// AWS account ID for member account.
	AccountId pulumi.StringPtrInput
	// The detector ID of the GuardDuty account where you want to create member accounts.
	DetectorId pulumi.StringPtrInput
	// Boolean whether an email notification is sent to the accounts. Defaults to `false`.
	DisableEmailNotification pulumi.BoolPtrInput
	// Email address for member account.
	Email pulumi.StringPtrInput
	// Message for invitation.
	InvitationMessage pulumi.StringPtrInput
	// Boolean whether to invite the account to GuardDuty as a member. Defaults to `false`. To detect if an invitation needs to be (re-)sent, the this provider state value is `true` based on a `relationshipStatus` of `Disabled`, `Enabled`, `Invited`, or `EmailVerificationInProgress`.
	Invite pulumi.BoolPtrInput
	// The status of the relationship between the member account and its primary account. More information can be found in [Amazon GuardDuty API Reference](https://docs.aws.amazon.com/guardduty/latest/ug/get-members.html).
	RelationshipStatus pulumi.StringPtrInput
}

func (MemberState) ElementType

func (MemberState) ElementType() reflect.Type

type OrganizationAdminAccount

type OrganizationAdminAccount struct {
	pulumi.CustomResourceState

	// AWS account identifier to designate as a delegated administrator for GuardDuty.
	AdminAccountId pulumi.StringOutput `pulumi:"adminAccountId"`
}

Manages a GuardDuty Organization Admin Account. The AWS account utilizing this resource must be an Organizations primary account. More information about Organizations support in GuardDuty can be found in the [GuardDuty User Guide](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleOrganization, err := organizations.NewOrganization(ctx, "exampleOrganization", &organizations.OrganizationArgs{
			AwsServiceAccessPrincipals: pulumi.StringArray{
				pulumi.String("guardduty.amazonaws.com"),
			},
			FeatureSet: pulumi.String("ALL"),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewDetector(ctx, "exampleDetector", nil)
		if err != nil {
			return err
		}
		_, err = guardduty.NewOrganizationAdminAccount(ctx, "exampleOrganizationAdminAccount", &guardduty.OrganizationAdminAccountArgs{
			AdminAccountId: pulumi.String("123456789012"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleOrganization,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty Organization Admin Account using the AWS account ID. For example:

```sh

$ pulumi import aws:guardduty/organizationAdminAccount:OrganizationAdminAccount example 123456789012

```

func GetOrganizationAdminAccount

func GetOrganizationAdminAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationAdminAccountState, opts ...pulumi.ResourceOption) (*OrganizationAdminAccount, error)

GetOrganizationAdminAccount gets an existing OrganizationAdminAccount 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 NewOrganizationAdminAccount

func NewOrganizationAdminAccount(ctx *pulumi.Context,
	name string, args *OrganizationAdminAccountArgs, opts ...pulumi.ResourceOption) (*OrganizationAdminAccount, error)

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

func (*OrganizationAdminAccount) ElementType

func (*OrganizationAdminAccount) ElementType() reflect.Type

func (*OrganizationAdminAccount) ToOrganizationAdminAccountOutput

func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput

func (*OrganizationAdminAccount) ToOrganizationAdminAccountOutputWithContext

func (i *OrganizationAdminAccount) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput

type OrganizationAdminAccountArgs

type OrganizationAdminAccountArgs struct {
	// AWS account identifier to designate as a delegated administrator for GuardDuty.
	AdminAccountId pulumi.StringInput
}

The set of arguments for constructing a OrganizationAdminAccount resource.

func (OrganizationAdminAccountArgs) ElementType

type OrganizationAdminAccountArray

type OrganizationAdminAccountArray []OrganizationAdminAccountInput

func (OrganizationAdminAccountArray) ElementType

func (OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutput

func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput

func (OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutputWithContext

func (i OrganizationAdminAccountArray) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput

type OrganizationAdminAccountArrayInput

type OrganizationAdminAccountArrayInput interface {
	pulumi.Input

	ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput
	ToOrganizationAdminAccountArrayOutputWithContext(context.Context) OrganizationAdminAccountArrayOutput
}

OrganizationAdminAccountArrayInput is an input type that accepts OrganizationAdminAccountArray and OrganizationAdminAccountArrayOutput values. You can construct a concrete instance of `OrganizationAdminAccountArrayInput` via:

OrganizationAdminAccountArray{ OrganizationAdminAccountArgs{...} }

type OrganizationAdminAccountArrayOutput

type OrganizationAdminAccountArrayOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountArrayOutput) ElementType

func (OrganizationAdminAccountArrayOutput) Index

func (OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutput

func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutput() OrganizationAdminAccountArrayOutput

func (OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutputWithContext

func (o OrganizationAdminAccountArrayOutput) ToOrganizationAdminAccountArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountArrayOutput

type OrganizationAdminAccountInput

type OrganizationAdminAccountInput interface {
	pulumi.Input

	ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput
	ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput
}

type OrganizationAdminAccountMap

type OrganizationAdminAccountMap map[string]OrganizationAdminAccountInput

func (OrganizationAdminAccountMap) ElementType

func (OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutput

func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput

func (OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutputWithContext

func (i OrganizationAdminAccountMap) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput

type OrganizationAdminAccountMapInput

type OrganizationAdminAccountMapInput interface {
	pulumi.Input

	ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput
	ToOrganizationAdminAccountMapOutputWithContext(context.Context) OrganizationAdminAccountMapOutput
}

OrganizationAdminAccountMapInput is an input type that accepts OrganizationAdminAccountMap and OrganizationAdminAccountMapOutput values. You can construct a concrete instance of `OrganizationAdminAccountMapInput` via:

OrganizationAdminAccountMap{ "key": OrganizationAdminAccountArgs{...} }

type OrganizationAdminAccountMapOutput

type OrganizationAdminAccountMapOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountMapOutput) ElementType

func (OrganizationAdminAccountMapOutput) MapIndex

func (OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutput

func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutput() OrganizationAdminAccountMapOutput

func (OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutputWithContext

func (o OrganizationAdminAccountMapOutput) ToOrganizationAdminAccountMapOutputWithContext(ctx context.Context) OrganizationAdminAccountMapOutput

type OrganizationAdminAccountOutput

type OrganizationAdminAccountOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountOutput) AdminAccountId

AWS account identifier to designate as a delegated administrator for GuardDuty.

func (OrganizationAdminAccountOutput) ElementType

func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutput

func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutput() OrganizationAdminAccountOutput

func (OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutputWithContext

func (o OrganizationAdminAccountOutput) ToOrganizationAdminAccountOutputWithContext(ctx context.Context) OrganizationAdminAccountOutput

type OrganizationAdminAccountState

type OrganizationAdminAccountState struct {
	// AWS account identifier to designate as a delegated administrator for GuardDuty.
	AdminAccountId pulumi.StringPtrInput
}

func (OrganizationAdminAccountState) ElementType

type OrganizationConfiguration

type OrganizationConfiguration struct {
	pulumi.CustomResourceState

	// *Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.
	//
	// Deprecated: Use auto_enable_organization_members instead
	AutoEnable pulumi.BoolOutput `pulumi:"autoEnable"`
	// Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. Valid values are `ALL`, `NEW`, `NONE`.
	AutoEnableOrganizationMembers pulumi.StringOutput `pulumi:"autoEnableOrganizationMembers"`
	// Configuration for the collected datasources.
	Datasources OrganizationConfigurationDatasourcesOutput `pulumi:"datasources"`
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
}

Manages the GuardDuty Organization Configuration in the current AWS Region. The AWS account utilizing this resource must have been assigned as a delegated Organization administrator account, e.g., via the `guardduty.OrganizationAdminAccount` resource. More information about Organizations support in GuardDuty can be found in the [GuardDuty User Guide](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html).

> **NOTE:** This is an advanced resource. The provider will automatically assume management of the GuardDuty Organization Configuration without import and perform no actions on removal from the resource configuration.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleDetector, err := guardduty.NewDetector(ctx, "exampleDetector", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewOrganizationConfiguration(ctx, "exampleOrganizationConfiguration", &guardduty.OrganizationConfigurationArgs{
			AutoEnableOrganizationMembers: pulumi.String("ALL"),
			DetectorId:                    exampleDetector.ID(),
			Datasources: &guardduty.OrganizationConfigurationDatasourcesArgs{
				S3Logs: &guardduty.OrganizationConfigurationDatasourcesS3LogsArgs{
					AutoEnable: pulumi.Bool(true),
				},
				Kubernetes: &guardduty.OrganizationConfigurationDatasourcesKubernetesArgs{
					AuditLogs: &guardduty.OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs{
						Enable: pulumi.Bool(true),
					},
				},
				MalwareProtection: &guardduty.OrganizationConfigurationDatasourcesMalwareProtectionArgs{
					ScanEc2InstanceWithFindings: &guardduty.OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{
						EbsVolumes: &guardduty.OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{
							AutoEnable: pulumi.Bool(true),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty Organization Configurations using the GuardDuty Detector ID. For example:

```sh

$ pulumi import aws:guardduty/organizationConfiguration:OrganizationConfiguration example 00b00fd5aecc0ab60a708659477e9617

```

func GetOrganizationConfiguration

func GetOrganizationConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationConfigurationState, opts ...pulumi.ResourceOption) (*OrganizationConfiguration, error)

GetOrganizationConfiguration gets an existing OrganizationConfiguration 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 NewOrganizationConfiguration

func NewOrganizationConfiguration(ctx *pulumi.Context,
	name string, args *OrganizationConfigurationArgs, opts ...pulumi.ResourceOption) (*OrganizationConfiguration, error)

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

func (*OrganizationConfiguration) ElementType

func (*OrganizationConfiguration) ElementType() reflect.Type

func (*OrganizationConfiguration) ToOrganizationConfigurationOutput

func (i *OrganizationConfiguration) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput

func (*OrganizationConfiguration) ToOrganizationConfigurationOutputWithContext

func (i *OrganizationConfiguration) ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput

type OrganizationConfigurationArgs

type OrganizationConfigurationArgs struct {
	// *Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.
	//
	// Deprecated: Use auto_enable_organization_members instead
	AutoEnable pulumi.BoolPtrInput
	// Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. Valid values are `ALL`, `NEW`, `NONE`.
	AutoEnableOrganizationMembers pulumi.StringPtrInput
	// Configuration for the collected datasources.
	Datasources OrganizationConfigurationDatasourcesPtrInput
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringInput
}

The set of arguments for constructing a OrganizationConfiguration resource.

func (OrganizationConfigurationArgs) ElementType

type OrganizationConfigurationArray

type OrganizationConfigurationArray []OrganizationConfigurationInput

func (OrganizationConfigurationArray) ElementType

func (OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutput

func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput

func (OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutputWithContext

func (i OrganizationConfigurationArray) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput

type OrganizationConfigurationArrayInput

type OrganizationConfigurationArrayInput interface {
	pulumi.Input

	ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput
	ToOrganizationConfigurationArrayOutputWithContext(context.Context) OrganizationConfigurationArrayOutput
}

OrganizationConfigurationArrayInput is an input type that accepts OrganizationConfigurationArray and OrganizationConfigurationArrayOutput values. You can construct a concrete instance of `OrganizationConfigurationArrayInput` via:

OrganizationConfigurationArray{ OrganizationConfigurationArgs{...} }

type OrganizationConfigurationArrayOutput

type OrganizationConfigurationArrayOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationArrayOutput) ElementType

func (OrganizationConfigurationArrayOutput) Index

func (OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutput

func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutput() OrganizationConfigurationArrayOutput

func (OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutputWithContext

func (o OrganizationConfigurationArrayOutput) ToOrganizationConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationArrayOutput

type OrganizationConfigurationDatasources

type OrganizationConfigurationDatasources struct {
	// Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
	Kubernetes *OrganizationConfigurationDatasourcesKubernetes `pulumi:"kubernetes"`
	// Enable Malware Protection automatically for new member accounts.
	MalwareProtection *OrganizationConfigurationDatasourcesMalwareProtection `pulumi:"malwareProtection"`
	// Enable S3 Protection automatically for new member accounts.
	S3Logs *OrganizationConfigurationDatasourcesS3Logs `pulumi:"s3Logs"`
}

type OrganizationConfigurationDatasourcesArgs

type OrganizationConfigurationDatasourcesArgs struct {
	// Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.
	Kubernetes OrganizationConfigurationDatasourcesKubernetesPtrInput `pulumi:"kubernetes"`
	// Enable Malware Protection automatically for new member accounts.
	MalwareProtection OrganizationConfigurationDatasourcesMalwareProtectionPtrInput `pulumi:"malwareProtection"`
	// Enable S3 Protection automatically for new member accounts.
	S3Logs OrganizationConfigurationDatasourcesS3LogsPtrInput `pulumi:"s3Logs"`
}

func (OrganizationConfigurationDatasourcesArgs) ElementType

func (OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesOutput

func (i OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesOutput() OrganizationConfigurationDatasourcesOutput

func (OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesOutputWithContext

func (i OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesOutput

func (OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesPtrOutput

func (i OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesPtrOutput() OrganizationConfigurationDatasourcesPtrOutput

func (OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesPtrOutputWithContext

func (i OrganizationConfigurationDatasourcesArgs) ToOrganizationConfigurationDatasourcesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesPtrOutput

type OrganizationConfigurationDatasourcesInput

type OrganizationConfigurationDatasourcesInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesOutput() OrganizationConfigurationDatasourcesOutput
	ToOrganizationConfigurationDatasourcesOutputWithContext(context.Context) OrganizationConfigurationDatasourcesOutput
}

OrganizationConfigurationDatasourcesInput is an input type that accepts OrganizationConfigurationDatasourcesArgs and OrganizationConfigurationDatasourcesOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesInput` via:

OrganizationConfigurationDatasourcesArgs{...}

type OrganizationConfigurationDatasourcesKubernetes

type OrganizationConfigurationDatasourcesKubernetes struct {
	// Enable Kubernetes Audit Logs Monitoring automatically for new member accounts. [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes Audit Logs below for more details.
	AuditLogs OrganizationConfigurationDatasourcesKubernetesAuditLogs `pulumi:"auditLogs"`
}

type OrganizationConfigurationDatasourcesKubernetesArgs

type OrganizationConfigurationDatasourcesKubernetesArgs struct {
	// Enable Kubernetes Audit Logs Monitoring automatically for new member accounts. [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// See Kubernetes Audit Logs below for more details.
	AuditLogs OrganizationConfigurationDatasourcesKubernetesAuditLogsInput `pulumi:"auditLogs"`
}

func (OrganizationConfigurationDatasourcesKubernetesArgs) ElementType

func (OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesOutput

func (i OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesOutput() OrganizationConfigurationDatasourcesKubernetesOutput

func (OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesOutputWithContext

func (i OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesOutput

func (OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesPtrOutput

func (i OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesPtrOutput() OrganizationConfigurationDatasourcesKubernetesPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext

func (i OrganizationConfigurationDatasourcesKubernetesArgs) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesPtrOutput

type OrganizationConfigurationDatasourcesKubernetesAuditLogs

type OrganizationConfigurationDatasourcesKubernetesAuditLogs struct {
	// If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// Defaults to `true`.
	Enable bool `pulumi:"enable"`
}

type OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs

type OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs struct {
	// If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html).
	// Defaults to `true`.
	Enable pulumi.BoolInput `pulumi:"enable"`
}

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ElementType

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutputWithContext

func (i OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (i OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsInput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutput() OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput
	ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutputWithContext(context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput
}

OrganizationConfigurationDatasourcesKubernetesAuditLogsInput is an input type that accepts OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs and OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesKubernetesAuditLogsInput` via:

OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs{...}

type OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ElementType

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) Enable

If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). Defaults to `true`.

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesAuditLogsOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrInput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput() OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput
	ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput
}

OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrInput is an input type that accepts OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs, OrganizationConfigurationDatasourcesKubernetesAuditLogsPtr and OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrInput` via:

        OrganizationConfigurationDatasourcesKubernetesAuditLogsArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

type OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) Elem

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) Enable

If true, enables Kubernetes audit logs as a data source for [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). Defaults to `true`.

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesAuditLogsPtrOutput

type OrganizationConfigurationDatasourcesKubernetesInput

type OrganizationConfigurationDatasourcesKubernetesInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesKubernetesOutput() OrganizationConfigurationDatasourcesKubernetesOutput
	ToOrganizationConfigurationDatasourcesKubernetesOutputWithContext(context.Context) OrganizationConfigurationDatasourcesKubernetesOutput
}

OrganizationConfigurationDatasourcesKubernetesInput is an input type that accepts OrganizationConfigurationDatasourcesKubernetesArgs and OrganizationConfigurationDatasourcesKubernetesOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesKubernetesInput` via:

OrganizationConfigurationDatasourcesKubernetesArgs{...}

type OrganizationConfigurationDatasourcesKubernetesOutput

type OrganizationConfigurationDatasourcesKubernetesOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesKubernetesOutput) AuditLogs

Enable Kubernetes Audit Logs Monitoring automatically for new member accounts. [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes Audit Logs below for more details.

func (OrganizationConfigurationDatasourcesKubernetesOutput) ElementType

func (OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesOutput

func (OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesOutput

func (OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutput

func (o OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutput() OrganizationConfigurationDatasourcesKubernetesPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesPtrOutput

type OrganizationConfigurationDatasourcesKubernetesPtrInput

type OrganizationConfigurationDatasourcesKubernetesPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesKubernetesPtrOutput() OrganizationConfigurationDatasourcesKubernetesPtrOutput
	ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesKubernetesPtrOutput
}

OrganizationConfigurationDatasourcesKubernetesPtrInput is an input type that accepts OrganizationConfigurationDatasourcesKubernetesArgs, OrganizationConfigurationDatasourcesKubernetesPtr and OrganizationConfigurationDatasourcesKubernetesPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesKubernetesPtrInput` via:

        OrganizationConfigurationDatasourcesKubernetesArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesKubernetesPtrOutput

type OrganizationConfigurationDatasourcesKubernetesPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesKubernetesPtrOutput) AuditLogs

Enable Kubernetes Audit Logs Monitoring automatically for new member accounts. [Kubernetes protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html). See Kubernetes Audit Logs below for more details.

func (OrganizationConfigurationDatasourcesKubernetesPtrOutput) Elem

func (OrganizationConfigurationDatasourcesKubernetesPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesKubernetesPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutput

func (OrganizationConfigurationDatasourcesKubernetesPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesKubernetesPtrOutput) ToOrganizationConfigurationDatasourcesKubernetesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesKubernetesPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtection

type OrganizationConfigurationDatasourcesMalwareProtection struct {
	// Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization.
	// See Scan EC2 instance with findings below for more details.
	ScanEc2InstanceWithFindings OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings `pulumi:"scanEc2InstanceWithFindings"`
}

type OrganizationConfigurationDatasourcesMalwareProtectionArgs

type OrganizationConfigurationDatasourcesMalwareProtectionArgs struct {
	// Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization.
	// See Scan EC2 instance with findings below for more details.
	ScanEc2InstanceWithFindings OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput `pulumi:"scanEc2InstanceWithFindings"`
}

func (OrganizationConfigurationDatasourcesMalwareProtectionArgs) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionOutputWithContext

func (i OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesMalwareProtectionOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext

func (i OrganizationConfigurationDatasourcesMalwareProtectionArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionInput

type OrganizationConfigurationDatasourcesMalwareProtectionInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionOutput() OrganizationConfigurationDatasourcesMalwareProtectionOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionArgs and OrganizationConfigurationDatasourcesMalwareProtectionOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionInput` via:

OrganizationConfigurationDatasourcesMalwareProtectionArgs{...}

type OrganizationConfigurationDatasourcesMalwareProtectionOutput

type OrganizationConfigurationDatasourcesMalwareProtectionOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ScanEc2InstanceWithFindings

Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization. See Scan EC2 instance with findings below for more details.

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionOutputWithContext

func (o OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesMalwareProtectionOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesMalwareProtectionOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionPtrInput

type OrganizationConfigurationDatasourcesMalwareProtectionPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutput() OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionPtrInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionArgs, OrganizationConfigurationDatasourcesMalwareProtectionPtr and OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionPtrInput` via:

        OrganizationConfigurationDatasourcesMalwareProtectionArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) Elem

func (OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ScanEc2InstanceWithFindings

Configure whether [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for EC2 instances with findings should be auto-enabled for new members joining the organization. See Scan EC2 instance with findings below for more details.

func (OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesMalwareProtectionPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindings struct {
	// Configure whether scanning EBS volumes should be auto-enabled for new members joining the organization
	// See EBS volumes below for more details.
	EbsVolumes OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes `pulumi:"ebsVolumes"`
}

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs struct {
	// Configure whether scanning EBS volumes should be auto-enabled for new members joining the organization
	// See EBS volumes below for more details.
	EbsVolumes OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput `pulumi:"ebsVolumes"`
}

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumes struct {
	// If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for all new accounts joining the organization.
	// Defaults to `true`.
	AutoEnable bool `pulumi:"autoEnable"`
}

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs struct {
	// If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for all new accounts joining the organization.
	// Defaults to `true`.
	AutoEnable pulumi.BoolInput `pulumi:"autoEnable"`
}

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs and OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesInput` via:

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{...}

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) AutoEnable

If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for all new accounts joining the organization. Defaults to `true`.

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutputWithContext

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs, OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtr and OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrInput` via:

        OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) AutoEnable

If true, enables [Malware Protection](https://docs.aws.amazon.com/guardduty/latest/ug/malware-protection.html) for all new accounts joining the organization. Defaults to `true`.

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesPtrOutputWithContext

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs and OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsInput` via:

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{...}

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) EbsVolumes

Configure whether scanning EBS volumes should be auto-enabled for new members joining the organization See EBS volumes below for more details.

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutputWithContext

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput() OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput
	ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput
}

OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput is an input type that accepts OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs, OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtr and OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrInput` via:

        OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

type OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) EbsVolumes

Configure whether scanning EBS volumes should be auto-enabled for new members joining the organization See EBS volumes below for more details.

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput

func (OrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutput) ToOrganizationConfigurationDatasourcesMalwareProtectionScanEc2InstanceWithFindingsPtrOutputWithContext

type OrganizationConfigurationDatasourcesOutput

type OrganizationConfigurationDatasourcesOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesOutput) ElementType

func (OrganizationConfigurationDatasourcesOutput) Kubernetes

Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.

func (OrganizationConfigurationDatasourcesOutput) MalwareProtection

Enable Malware Protection automatically for new member accounts.

func (OrganizationConfigurationDatasourcesOutput) S3Logs

Enable S3 Protection automatically for new member accounts.

func (OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesOutput

func (o OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesOutput() OrganizationConfigurationDatasourcesOutput

func (OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesOutputWithContext

func (o OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesOutput

func (OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesPtrOutput

func (o OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesPtrOutput() OrganizationConfigurationDatasourcesPtrOutput

func (OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesOutput) ToOrganizationConfigurationDatasourcesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesPtrOutput

type OrganizationConfigurationDatasourcesPtrInput

type OrganizationConfigurationDatasourcesPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesPtrOutput() OrganizationConfigurationDatasourcesPtrOutput
	ToOrganizationConfigurationDatasourcesPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesPtrOutput
}

OrganizationConfigurationDatasourcesPtrInput is an input type that accepts OrganizationConfigurationDatasourcesArgs, OrganizationConfigurationDatasourcesPtr and OrganizationConfigurationDatasourcesPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesPtrInput` via:

        OrganizationConfigurationDatasourcesArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesPtrOutput

type OrganizationConfigurationDatasourcesPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesPtrOutput) Elem

func (OrganizationConfigurationDatasourcesPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesPtrOutput) Kubernetes

Enable Kubernetes Audit Logs Monitoring automatically for new member accounts.

func (OrganizationConfigurationDatasourcesPtrOutput) MalwareProtection

Enable Malware Protection automatically for new member accounts.

func (OrganizationConfigurationDatasourcesPtrOutput) S3Logs

Enable S3 Protection automatically for new member accounts.

func (OrganizationConfigurationDatasourcesPtrOutput) ToOrganizationConfigurationDatasourcesPtrOutput

func (o OrganizationConfigurationDatasourcesPtrOutput) ToOrganizationConfigurationDatasourcesPtrOutput() OrganizationConfigurationDatasourcesPtrOutput

func (OrganizationConfigurationDatasourcesPtrOutput) ToOrganizationConfigurationDatasourcesPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesPtrOutput) ToOrganizationConfigurationDatasourcesPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesPtrOutput

type OrganizationConfigurationDatasourcesS3Logs

type OrganizationConfigurationDatasourcesS3Logs struct {
	// *Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.
	AutoEnable bool `pulumi:"autoEnable"`
}

type OrganizationConfigurationDatasourcesS3LogsArgs

type OrganizationConfigurationDatasourcesS3LogsArgs struct {
	// *Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.
	AutoEnable pulumi.BoolInput `pulumi:"autoEnable"`
}

func (OrganizationConfigurationDatasourcesS3LogsArgs) ElementType

func (OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsOutput

func (i OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsOutput() OrganizationConfigurationDatasourcesS3LogsOutput

func (OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsOutputWithContext

func (i OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesS3LogsOutput

func (OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput

func (i OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput() OrganizationConfigurationDatasourcesS3LogsPtrOutput

func (OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext

func (i OrganizationConfigurationDatasourcesS3LogsArgs) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesS3LogsPtrOutput

type OrganizationConfigurationDatasourcesS3LogsInput

type OrganizationConfigurationDatasourcesS3LogsInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesS3LogsOutput() OrganizationConfigurationDatasourcesS3LogsOutput
	ToOrganizationConfigurationDatasourcesS3LogsOutputWithContext(context.Context) OrganizationConfigurationDatasourcesS3LogsOutput
}

OrganizationConfigurationDatasourcesS3LogsInput is an input type that accepts OrganizationConfigurationDatasourcesS3LogsArgs and OrganizationConfigurationDatasourcesS3LogsOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesS3LogsInput` via:

OrganizationConfigurationDatasourcesS3LogsArgs{...}

type OrganizationConfigurationDatasourcesS3LogsOutput

type OrganizationConfigurationDatasourcesS3LogsOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesS3LogsOutput) AutoEnable

*Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.

func (OrganizationConfigurationDatasourcesS3LogsOutput) ElementType

func (OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsOutput

func (o OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsOutput() OrganizationConfigurationDatasourcesS3LogsOutput

func (OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsOutputWithContext

func (o OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesS3LogsOutput

func (OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput

func (o OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput() OrganizationConfigurationDatasourcesS3LogsPtrOutput

func (OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesS3LogsOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesS3LogsPtrOutput

type OrganizationConfigurationDatasourcesS3LogsPtrInput

type OrganizationConfigurationDatasourcesS3LogsPtrInput interface {
	pulumi.Input

	ToOrganizationConfigurationDatasourcesS3LogsPtrOutput() OrganizationConfigurationDatasourcesS3LogsPtrOutput
	ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext(context.Context) OrganizationConfigurationDatasourcesS3LogsPtrOutput
}

OrganizationConfigurationDatasourcesS3LogsPtrInput is an input type that accepts OrganizationConfigurationDatasourcesS3LogsArgs, OrganizationConfigurationDatasourcesS3LogsPtr and OrganizationConfigurationDatasourcesS3LogsPtrOutput values. You can construct a concrete instance of `OrganizationConfigurationDatasourcesS3LogsPtrInput` via:

        OrganizationConfigurationDatasourcesS3LogsArgs{...}

or:

        nil

type OrganizationConfigurationDatasourcesS3LogsPtrOutput

type OrganizationConfigurationDatasourcesS3LogsPtrOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationDatasourcesS3LogsPtrOutput) AutoEnable

*Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.

func (OrganizationConfigurationDatasourcesS3LogsPtrOutput) Elem

func (OrganizationConfigurationDatasourcesS3LogsPtrOutput) ElementType

func (OrganizationConfigurationDatasourcesS3LogsPtrOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput

func (o OrganizationConfigurationDatasourcesS3LogsPtrOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutput() OrganizationConfigurationDatasourcesS3LogsPtrOutput

func (OrganizationConfigurationDatasourcesS3LogsPtrOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext

func (o OrganizationConfigurationDatasourcesS3LogsPtrOutput) ToOrganizationConfigurationDatasourcesS3LogsPtrOutputWithContext(ctx context.Context) OrganizationConfigurationDatasourcesS3LogsPtrOutput

type OrganizationConfigurationFeature added in v6.6.0

type OrganizationConfigurationFeature struct {
	pulumi.CustomResourceState

	// The additional information that will be configured for the organization See below.
	AdditionalConfigurations OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput `pulumi:"additionalConfigurations"`
	// The status of the feature that is configured for the member accounts within the organization. Valid values: `NEW`, `ALL`, `NONE`.
	AutoEnable pulumi.StringOutput `pulumi:"autoEnable"`
	// The ID of the detector that configures the delegated administrator.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// The name of the feature that will be configured for the organization. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a resource to manage a single Amazon GuardDuty [organization configuration feature](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-features-activation-model.html#guardduty-features).

> **NOTE:** Deleting this resource does not disable the organization configuration feature, the resource in simply removed from state instead.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := guardduty.NewDetector(ctx, "example", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewOrganizationConfigurationFeature(ctx, "eksRuntimeMonitoring", &guardduty.OrganizationConfigurationFeatureArgs{
			DetectorId: example.ID(),
			AutoEnable: pulumi.String("ALL"),
			AdditionalConfigurations: guardduty.OrganizationConfigurationFeatureAdditionalConfigurationArray{
				&guardduty.OrganizationConfigurationFeatureAdditionalConfigurationArgs{
					Name:       pulumi.String("EKS_ADDON_MANAGEMENT"),
					AutoEnable: pulumi.String("NEW"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetOrganizationConfigurationFeature added in v6.6.0

func GetOrganizationConfigurationFeature(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationConfigurationFeatureState, opts ...pulumi.ResourceOption) (*OrganizationConfigurationFeature, error)

GetOrganizationConfigurationFeature gets an existing OrganizationConfigurationFeature 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 NewOrganizationConfigurationFeature added in v6.6.0

func NewOrganizationConfigurationFeature(ctx *pulumi.Context,
	name string, args *OrganizationConfigurationFeatureArgs, opts ...pulumi.ResourceOption) (*OrganizationConfigurationFeature, error)

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

func (*OrganizationConfigurationFeature) ElementType added in v6.6.0

func (*OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutput added in v6.6.0

func (i *OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutput() OrganizationConfigurationFeatureOutput

func (*OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutputWithContext added in v6.6.0

func (i *OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureOutput

type OrganizationConfigurationFeatureAdditionalConfiguration added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfiguration struct {
	// The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.
	AutoEnable string `pulumi:"autoEnable"`
	// The name of the additional configuration that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`.
	Name string `pulumi:"name"`
}

type OrganizationConfigurationFeatureAdditionalConfigurationArgs added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationArgs struct {
	// The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.
	AutoEnable pulumi.StringInput `pulumi:"autoEnable"`
	// The name of the additional configuration that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`.
	Name pulumi.StringInput `pulumi:"name"`
}

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ToOrganizationConfigurationFeatureAdditionalConfigurationOutput added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext added in v6.6.0

func (i OrganizationConfigurationFeatureAdditionalConfigurationArgs) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureAdditionalConfigurationOutput

type OrganizationConfigurationFeatureAdditionalConfigurationArray added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationArray []OrganizationConfigurationFeatureAdditionalConfigurationInput

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutput added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext added in v6.6.0

func (i OrganizationConfigurationFeatureAdditionalConfigurationArray) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput

type OrganizationConfigurationFeatureAdditionalConfigurationArrayInput added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationArrayInput interface {
	pulumi.Input

	ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutput() OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput
	ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext(context.Context) OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput
}

OrganizationConfigurationFeatureAdditionalConfigurationArrayInput is an input type that accepts OrganizationConfigurationFeatureAdditionalConfigurationArray and OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput values. You can construct a concrete instance of `OrganizationConfigurationFeatureAdditionalConfigurationArrayInput` via:

OrganizationConfigurationFeatureAdditionalConfigurationArray{ OrganizationConfigurationFeatureAdditionalConfigurationArgs{...} }

type OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) Index added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutput added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext added in v6.6.0

func (o OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput

type OrganizationConfigurationFeatureAdditionalConfigurationInput added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationInput interface {
	pulumi.Input

	ToOrganizationConfigurationFeatureAdditionalConfigurationOutput() OrganizationConfigurationFeatureAdditionalConfigurationOutput
	ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext(context.Context) OrganizationConfigurationFeatureAdditionalConfigurationOutput
}

OrganizationConfigurationFeatureAdditionalConfigurationInput is an input type that accepts OrganizationConfigurationFeatureAdditionalConfigurationArgs and OrganizationConfigurationFeatureAdditionalConfigurationOutput values. You can construct a concrete instance of `OrganizationConfigurationFeatureAdditionalConfigurationInput` via:

OrganizationConfigurationFeatureAdditionalConfigurationArgs{...}

type OrganizationConfigurationFeatureAdditionalConfigurationOutput added in v6.6.0

type OrganizationConfigurationFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) AutoEnable added in v6.6.0

The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) Name added in v6.6.0

The name of the additional configuration that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`.

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationOutput added in v6.6.0

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext added in v6.6.0

func (o OrganizationConfigurationFeatureAdditionalConfigurationOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureAdditionalConfigurationOutput

type OrganizationConfigurationFeatureArgs added in v6.6.0

type OrganizationConfigurationFeatureArgs struct {
	// The additional information that will be configured for the organization See below.
	AdditionalConfigurations OrganizationConfigurationFeatureAdditionalConfigurationArrayInput
	// The status of the feature that is configured for the member accounts within the organization. Valid values: `NEW`, `ALL`, `NONE`.
	AutoEnable pulumi.StringInput
	// The ID of the detector that configures the delegated administrator.
	DetectorId pulumi.StringInput
	// The name of the feature that will be configured for the organization. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a OrganizationConfigurationFeature resource.

func (OrganizationConfigurationFeatureArgs) ElementType added in v6.6.0

type OrganizationConfigurationFeatureArray added in v6.6.0

type OrganizationConfigurationFeatureArray []OrganizationConfigurationFeatureInput

func (OrganizationConfigurationFeatureArray) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutput added in v6.6.0

func (i OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutput() OrganizationConfigurationFeatureArrayOutput

func (OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutputWithContext added in v6.6.0

func (i OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureArrayOutput

type OrganizationConfigurationFeatureArrayInput added in v6.6.0

type OrganizationConfigurationFeatureArrayInput interface {
	pulumi.Input

	ToOrganizationConfigurationFeatureArrayOutput() OrganizationConfigurationFeatureArrayOutput
	ToOrganizationConfigurationFeatureArrayOutputWithContext(context.Context) OrganizationConfigurationFeatureArrayOutput
}

OrganizationConfigurationFeatureArrayInput is an input type that accepts OrganizationConfigurationFeatureArray and OrganizationConfigurationFeatureArrayOutput values. You can construct a concrete instance of `OrganizationConfigurationFeatureArrayInput` via:

OrganizationConfigurationFeatureArray{ OrganizationConfigurationFeatureArgs{...} }

type OrganizationConfigurationFeatureArrayOutput added in v6.6.0

type OrganizationConfigurationFeatureArrayOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureArrayOutput) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureArrayOutput) Index added in v6.6.0

func (OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutput added in v6.6.0

func (o OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutput() OrganizationConfigurationFeatureArrayOutput

func (OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutputWithContext added in v6.6.0

func (o OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureArrayOutput

type OrganizationConfigurationFeatureInput added in v6.6.0

type OrganizationConfigurationFeatureInput interface {
	pulumi.Input

	ToOrganizationConfigurationFeatureOutput() OrganizationConfigurationFeatureOutput
	ToOrganizationConfigurationFeatureOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureOutput
}

type OrganizationConfigurationFeatureMap added in v6.6.0

type OrganizationConfigurationFeatureMap map[string]OrganizationConfigurationFeatureInput

func (OrganizationConfigurationFeatureMap) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutput added in v6.6.0

func (i OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutput() OrganizationConfigurationFeatureMapOutput

func (OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutputWithContext added in v6.6.0

func (i OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureMapOutput

type OrganizationConfigurationFeatureMapInput added in v6.6.0

type OrganizationConfigurationFeatureMapInput interface {
	pulumi.Input

	ToOrganizationConfigurationFeatureMapOutput() OrganizationConfigurationFeatureMapOutput
	ToOrganizationConfigurationFeatureMapOutputWithContext(context.Context) OrganizationConfigurationFeatureMapOutput
}

OrganizationConfigurationFeatureMapInput is an input type that accepts OrganizationConfigurationFeatureMap and OrganizationConfigurationFeatureMapOutput values. You can construct a concrete instance of `OrganizationConfigurationFeatureMapInput` via:

OrganizationConfigurationFeatureMap{ "key": OrganizationConfigurationFeatureArgs{...} }

type OrganizationConfigurationFeatureMapOutput added in v6.6.0

type OrganizationConfigurationFeatureMapOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureMapOutput) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureMapOutput) MapIndex added in v6.6.0

func (OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutput added in v6.6.0

func (o OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutput() OrganizationConfigurationFeatureMapOutput

func (OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutputWithContext added in v6.6.0

func (o OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureMapOutput

type OrganizationConfigurationFeatureOutput added in v6.6.0

type OrganizationConfigurationFeatureOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureOutput) AdditionalConfigurations added in v6.6.0

The additional information that will be configured for the organization See below.

func (OrganizationConfigurationFeatureOutput) AutoEnable added in v6.6.0

The status of the feature that is configured for the member accounts within the organization. Valid values: `NEW`, `ALL`, `NONE`.

func (OrganizationConfigurationFeatureOutput) DetectorId added in v6.6.0

The ID of the detector that configures the delegated administrator.

func (OrganizationConfigurationFeatureOutput) ElementType added in v6.6.0

func (OrganizationConfigurationFeatureOutput) Name added in v6.6.0

The name of the feature that will be configured for the organization. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.

func (OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutput added in v6.6.0

func (o OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutput() OrganizationConfigurationFeatureOutput

func (OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutputWithContext added in v6.6.0

func (o OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutputWithContext(ctx context.Context) OrganizationConfigurationFeatureOutput

type OrganizationConfigurationFeatureState added in v6.6.0

type OrganizationConfigurationFeatureState struct {
	// The additional information that will be configured for the organization See below.
	AdditionalConfigurations OrganizationConfigurationFeatureAdditionalConfigurationArrayInput
	// The status of the feature that is configured for the member accounts within the organization. Valid values: `NEW`, `ALL`, `NONE`.
	AutoEnable pulumi.StringPtrInput
	// The ID of the detector that configures the delegated administrator.
	DetectorId pulumi.StringPtrInput
	// The name of the feature that will be configured for the organization. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
}

func (OrganizationConfigurationFeatureState) ElementType added in v6.6.0

type OrganizationConfigurationInput

type OrganizationConfigurationInput interface {
	pulumi.Input

	ToOrganizationConfigurationOutput() OrganizationConfigurationOutput
	ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput
}

type OrganizationConfigurationMap

type OrganizationConfigurationMap map[string]OrganizationConfigurationInput

func (OrganizationConfigurationMap) ElementType

func (OrganizationConfigurationMap) ToOrganizationConfigurationMapOutput

func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput

func (OrganizationConfigurationMap) ToOrganizationConfigurationMapOutputWithContext

func (i OrganizationConfigurationMap) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput

type OrganizationConfigurationMapInput

type OrganizationConfigurationMapInput interface {
	pulumi.Input

	ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput
	ToOrganizationConfigurationMapOutputWithContext(context.Context) OrganizationConfigurationMapOutput
}

OrganizationConfigurationMapInput is an input type that accepts OrganizationConfigurationMap and OrganizationConfigurationMapOutput values. You can construct a concrete instance of `OrganizationConfigurationMapInput` via:

OrganizationConfigurationMap{ "key": OrganizationConfigurationArgs{...} }

type OrganizationConfigurationMapOutput

type OrganizationConfigurationMapOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationMapOutput) ElementType

func (OrganizationConfigurationMapOutput) MapIndex

func (OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutput

func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutput() OrganizationConfigurationMapOutput

func (OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutputWithContext

func (o OrganizationConfigurationMapOutput) ToOrganizationConfigurationMapOutputWithContext(ctx context.Context) OrganizationConfigurationMapOutput

type OrganizationConfigurationOutput

type OrganizationConfigurationOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationOutput) AutoEnable deprecated

*Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.

Deprecated: Use auto_enable_organization_members instead

func (OrganizationConfigurationOutput) AutoEnableOrganizationMembers

func (o OrganizationConfigurationOutput) AutoEnableOrganizationMembers() pulumi.StringOutput

Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. Valid values are `ALL`, `NEW`, `NONE`.

func (OrganizationConfigurationOutput) Datasources

Configuration for the collected datasources.

func (OrganizationConfigurationOutput) DetectorId

The detector ID of the GuardDuty account.

func (OrganizationConfigurationOutput) ElementType

func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutput

func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput

func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext

func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext(ctx context.Context) OrganizationConfigurationOutput

type OrganizationConfigurationState

type OrganizationConfigurationState struct {
	// *Deprecated:* Use `autoEnableOrganizationMembers` instead. When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s GuardDuty delegated administrator and GuardDuty is enabled in that AWS Region.
	//
	// Deprecated: Use auto_enable_organization_members instead
	AutoEnable pulumi.BoolPtrInput
	// Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. Valid values are `ALL`, `NEW`, `NONE`.
	AutoEnableOrganizationMembers pulumi.StringPtrInput
	// Configuration for the collected datasources.
	Datasources OrganizationConfigurationDatasourcesPtrInput
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringPtrInput
}

func (OrganizationConfigurationState) ElementType

type PublishingDestination

type PublishingDestination struct {
	pulumi.CustomResourceState

	// The bucket arn and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
	DestinationArn pulumi.StringOutput `pulumi:"destinationArn"`
	// Currently there is only "S3" available as destination type which is also the default value
	//
	// > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
	DestinationType pulumi.StringPtrOutput `pulumi:"destinationType"`
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// The ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
	KmsKeyArn pulumi.StringOutput `pulumi:"kmsKeyArn"`
}

Provides a resource to manage a GuardDuty PublishingDestination. Requires an existing GuardDuty Detector.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		currentCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		currentRegion, err := aws.GetRegion(ctx, nil, nil)
		if err != nil {
			return err
		}
		gdBucket, err := s3.NewBucketV2(ctx, "gdBucket", &s3.BucketV2Args{
			ForceDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		bucketPol := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{
			Statements: iam.GetPolicyDocumentStatementArray{
				&iam.GetPolicyDocumentStatementArgs{
					Sid: pulumi.String("Allow PutObject"),
					Actions: pulumi.StringArray{
						pulumi.String("s3:PutObject"),
					},
					Resources: pulumi.StringArray{
						gdBucket.Arn.ApplyT(func(arn string) (string, error) {
							return fmt.Sprintf("%v/*", arn), nil
						}).(pulumi.StringOutput),
					},
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("Service"),
							Identifiers: pulumi.StringArray{
								pulumi.String("guardduty.amazonaws.com"),
							},
						},
					},
				},
				&iam.GetPolicyDocumentStatementArgs{
					Sid: pulumi.String("Allow GetBucketLocation"),
					Actions: pulumi.StringArray{
						pulumi.String("s3:GetBucketLocation"),
					},
					Resources: pulumi.StringArray{
						gdBucket.Arn,
					},
					Principals: iam.GetPolicyDocumentStatementPrincipalArray{
						&iam.GetPolicyDocumentStatementPrincipalArgs{
							Type: pulumi.String("Service"),
							Identifiers: pulumi.StringArray{
								pulumi.String("guardduty.amazonaws.com"),
							},
						},
					},
				},
			},
		}, nil)
		kmsPol, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Sid: pulumi.StringRef("Allow GuardDuty to encrypt findings"),
					Actions: []string{
						"kms:GenerateDataKey",
					},
					Resources: []string{
						fmt.Sprintf("arn:aws:kms:%v:%v:key/*", currentRegion.Name, currentCallerIdentity.AccountId),
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"guardduty.amazonaws.com",
							},
						},
					},
				},
				{
					Sid: pulumi.StringRef("Allow all users to modify/delete key (test only)"),
					Actions: []string{
						"kms:*",
					},
					Resources: []string{
						fmt.Sprintf("arn:aws:kms:%v:%v:key/*", currentRegion.Name, currentCallerIdentity.AccountId),
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "AWS",
							Identifiers: []string{
								fmt.Sprintf("arn:aws:iam::%v:root", currentCallerIdentity.AccountId),
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		testGd, err := guardduty.NewDetector(ctx, "testGd", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "gdBucketAcl", &s3.BucketAclV2Args{
			Bucket: gdBucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		gdBucketPolicy, err := s3.NewBucketPolicy(ctx, "gdBucketPolicy", &s3.BucketPolicyArgs{
			Bucket: gdBucket.ID(),
			Policy: bucketPol.ApplyT(func(bucketPol iam.GetPolicyDocumentResult) (*string, error) {
				return &bucketPol.Json, nil
			}).(pulumi.StringPtrOutput),
		})
		if err != nil {
			return err
		}
		gdKey, err := kms.NewKey(ctx, "gdKey", &kms.KeyArgs{
			Description:          pulumi.String("Temporary key for AccTest of TF"),
			DeletionWindowInDays: pulumi.Int(7),
			Policy:               *pulumi.String(kmsPol.Json),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewPublishingDestination(ctx, "test", &guardduty.PublishingDestinationArgs{
			DetectorId:     testGd.ID(),
			DestinationArn: gdBucket.Arn,
			KmsKeyArn:      gdKey.Arn,
		}, pulumi.DependsOn([]pulumi.Resource{
			gdBucketPolicy,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **Note:** Please do not use this simple example for Bucket-Policy and KMS Key Policy in a production environment. It is much too open for such a use-case. Refer to the AWS documentation here: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html

## Import

Using `pulumi import`, import GuardDuty PublishingDestination using the master GuardDuty detector ID and PublishingDestinationID. For example:

```sh

$ pulumi import aws:guardduty/publishingDestination:PublishingDestination test a4b86f26fa42e7e7cf0d1c333ea77777:a4b86f27a0e464e4a7e0516d242f1234

```

func GetPublishingDestination

func GetPublishingDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PublishingDestinationState, opts ...pulumi.ResourceOption) (*PublishingDestination, error)

GetPublishingDestination gets an existing PublishingDestination 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 NewPublishingDestination

func NewPublishingDestination(ctx *pulumi.Context,
	name string, args *PublishingDestinationArgs, opts ...pulumi.ResourceOption) (*PublishingDestination, error)

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

func (*PublishingDestination) ElementType

func (*PublishingDestination) ElementType() reflect.Type

func (*PublishingDestination) ToPublishingDestinationOutput

func (i *PublishingDestination) ToPublishingDestinationOutput() PublishingDestinationOutput

func (*PublishingDestination) ToPublishingDestinationOutputWithContext

func (i *PublishingDestination) ToPublishingDestinationOutputWithContext(ctx context.Context) PublishingDestinationOutput

type PublishingDestinationArgs

type PublishingDestinationArgs struct {
	// The bucket arn and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
	DestinationArn pulumi.StringInput
	// Currently there is only "S3" available as destination type which is also the default value
	//
	// > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
	DestinationType pulumi.StringPtrInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringInput
	// The ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
	KmsKeyArn pulumi.StringInput
}

The set of arguments for constructing a PublishingDestination resource.

func (PublishingDestinationArgs) ElementType

func (PublishingDestinationArgs) ElementType() reflect.Type

type PublishingDestinationArray

type PublishingDestinationArray []PublishingDestinationInput

func (PublishingDestinationArray) ElementType

func (PublishingDestinationArray) ElementType() reflect.Type

func (PublishingDestinationArray) ToPublishingDestinationArrayOutput

func (i PublishingDestinationArray) ToPublishingDestinationArrayOutput() PublishingDestinationArrayOutput

func (PublishingDestinationArray) ToPublishingDestinationArrayOutputWithContext

func (i PublishingDestinationArray) ToPublishingDestinationArrayOutputWithContext(ctx context.Context) PublishingDestinationArrayOutput

type PublishingDestinationArrayInput

type PublishingDestinationArrayInput interface {
	pulumi.Input

	ToPublishingDestinationArrayOutput() PublishingDestinationArrayOutput
	ToPublishingDestinationArrayOutputWithContext(context.Context) PublishingDestinationArrayOutput
}

PublishingDestinationArrayInput is an input type that accepts PublishingDestinationArray and PublishingDestinationArrayOutput values. You can construct a concrete instance of `PublishingDestinationArrayInput` via:

PublishingDestinationArray{ PublishingDestinationArgs{...} }

type PublishingDestinationArrayOutput

type PublishingDestinationArrayOutput struct{ *pulumi.OutputState }

func (PublishingDestinationArrayOutput) ElementType

func (PublishingDestinationArrayOutput) Index

func (PublishingDestinationArrayOutput) ToPublishingDestinationArrayOutput

func (o PublishingDestinationArrayOutput) ToPublishingDestinationArrayOutput() PublishingDestinationArrayOutput

func (PublishingDestinationArrayOutput) ToPublishingDestinationArrayOutputWithContext

func (o PublishingDestinationArrayOutput) ToPublishingDestinationArrayOutputWithContext(ctx context.Context) PublishingDestinationArrayOutput

type PublishingDestinationInput

type PublishingDestinationInput interface {
	pulumi.Input

	ToPublishingDestinationOutput() PublishingDestinationOutput
	ToPublishingDestinationOutputWithContext(ctx context.Context) PublishingDestinationOutput
}

type PublishingDestinationMap

type PublishingDestinationMap map[string]PublishingDestinationInput

func (PublishingDestinationMap) ElementType

func (PublishingDestinationMap) ElementType() reflect.Type

func (PublishingDestinationMap) ToPublishingDestinationMapOutput

func (i PublishingDestinationMap) ToPublishingDestinationMapOutput() PublishingDestinationMapOutput

func (PublishingDestinationMap) ToPublishingDestinationMapOutputWithContext

func (i PublishingDestinationMap) ToPublishingDestinationMapOutputWithContext(ctx context.Context) PublishingDestinationMapOutput

type PublishingDestinationMapInput

type PublishingDestinationMapInput interface {
	pulumi.Input

	ToPublishingDestinationMapOutput() PublishingDestinationMapOutput
	ToPublishingDestinationMapOutputWithContext(context.Context) PublishingDestinationMapOutput
}

PublishingDestinationMapInput is an input type that accepts PublishingDestinationMap and PublishingDestinationMapOutput values. You can construct a concrete instance of `PublishingDestinationMapInput` via:

PublishingDestinationMap{ "key": PublishingDestinationArgs{...} }

type PublishingDestinationMapOutput

type PublishingDestinationMapOutput struct{ *pulumi.OutputState }

func (PublishingDestinationMapOutput) ElementType

func (PublishingDestinationMapOutput) MapIndex

func (PublishingDestinationMapOutput) ToPublishingDestinationMapOutput

func (o PublishingDestinationMapOutput) ToPublishingDestinationMapOutput() PublishingDestinationMapOutput

func (PublishingDestinationMapOutput) ToPublishingDestinationMapOutputWithContext

func (o PublishingDestinationMapOutput) ToPublishingDestinationMapOutputWithContext(ctx context.Context) PublishingDestinationMapOutput

type PublishingDestinationOutput

type PublishingDestinationOutput struct{ *pulumi.OutputState }

func (PublishingDestinationOutput) DestinationArn

func (o PublishingDestinationOutput) DestinationArn() pulumi.StringOutput

The bucket arn and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided

func (PublishingDestinationOutput) DestinationType

Currently there is only "S3" available as destination type which is also the default value

> **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).

func (PublishingDestinationOutput) DetectorId

The detector ID of the GuardDuty.

func (PublishingDestinationOutput) ElementType

func (PublishingDestinationOutput) KmsKeyArn

The ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.

func (PublishingDestinationOutput) ToPublishingDestinationOutput

func (o PublishingDestinationOutput) ToPublishingDestinationOutput() PublishingDestinationOutput

func (PublishingDestinationOutput) ToPublishingDestinationOutputWithContext

func (o PublishingDestinationOutput) ToPublishingDestinationOutputWithContext(ctx context.Context) PublishingDestinationOutput

type PublishingDestinationState

type PublishingDestinationState struct {
	// The bucket arn and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
	DestinationArn pulumi.StringPtrInput
	// Currently there is only "S3" available as destination type which is also the default value
	//
	// > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
	DestinationType pulumi.StringPtrInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringPtrInput
	// The ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
	KmsKeyArn pulumi.StringPtrInput
}

func (PublishingDestinationState) ElementType

func (PublishingDestinationState) ElementType() reflect.Type

type ThreatIntelSet

type ThreatIntelSet struct {
	pulumi.CustomResourceState

	// Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet.
	Activate pulumi.BoolOutput `pulumi:"activate"`
	// Amazon Resource Name (ARN) of the GuardDuty ThreatIntelSet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringOutput `pulumi:"format"`
	// The URI of the file that contains the ThreatIntelSet.
	Location pulumi.StringOutput `pulumi:"location"`
	// The friendly name to identify the ThreatIntelSet.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage a GuardDuty ThreatIntelSet.

> **Note:** Currently in GuardDuty, users from member accounts cannot upload and further manage ThreatIntelSets. ThreatIntelSets that are uploaded by the primary account are imposed on GuardDuty functionality in its member accounts. See the [GuardDuty API Documentation](https://docs.aws.amazon.com/guardduty/latest/ug/create-threat-intel-set.html)

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := guardduty.NewDetector(ctx, "primary", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		bucket, err := s3.NewBucketV2(ctx, "bucket", nil)
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAclV2(ctx, "bucketAcl", &s3.BucketAclV2Args{
			Bucket: bucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		myThreatIntelSetBucketObjectv2, err := s3.NewBucketObjectv2(ctx, "myThreatIntelSetBucketObjectv2", &s3.BucketObjectv2Args{
			Acl:     pulumi.String("public-read"),
			Content: pulumi.String("10.0.0.0/8\n"),
			Bucket:  bucket.ID(),
			Key:     pulumi.String("MyThreatIntelSet"),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewThreatIntelSet(ctx, "myThreatIntelSetThreatIntelSet", &guardduty.ThreatIntelSetArgs{
			Activate:   pulumi.Bool(true),
			DetectorId: primary.ID(),
			Format:     pulumi.String("TXT"),
			Location: pulumi.All(myThreatIntelSetBucketObjectv2.Bucket, myThreatIntelSetBucketObjectv2.Key).ApplyT(func(_args []interface{}) (string, error) {
				bucket := _args[0].(string)
				key := _args[1].(string)
				return fmt.Sprintf("https://s3.amazonaws.com/%v/%v", bucket, key), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import GuardDuty ThreatIntelSet using the primary GuardDuty detector ID and ThreatIntelSetID. For example:

```sh

$ pulumi import aws:guardduty/threatIntelSet:ThreatIntelSet MyThreatIntelSet 00b00fd5aecc0ab60a708659477e9617:123456789012

```

func GetThreatIntelSet

func GetThreatIntelSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThreatIntelSetState, opts ...pulumi.ResourceOption) (*ThreatIntelSet, error)

GetThreatIntelSet gets an existing ThreatIntelSet 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 NewThreatIntelSet

func NewThreatIntelSet(ctx *pulumi.Context,
	name string, args *ThreatIntelSetArgs, opts ...pulumi.ResourceOption) (*ThreatIntelSet, error)

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

func (*ThreatIntelSet) ElementType

func (*ThreatIntelSet) ElementType() reflect.Type

func (*ThreatIntelSet) ToThreatIntelSetOutput

func (i *ThreatIntelSet) ToThreatIntelSetOutput() ThreatIntelSetOutput

func (*ThreatIntelSet) ToThreatIntelSetOutputWithContext

func (i *ThreatIntelSet) ToThreatIntelSetOutputWithContext(ctx context.Context) ThreatIntelSetOutput

type ThreatIntelSetArgs

type ThreatIntelSetArgs struct {
	// Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet.
	Activate pulumi.BoolInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringInput
	// The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringInput
	// The URI of the file that contains the ThreatIntelSet.
	Location pulumi.StringInput
	// The friendly name to identify the ThreatIntelSet.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ThreatIntelSet resource.

func (ThreatIntelSetArgs) ElementType

func (ThreatIntelSetArgs) ElementType() reflect.Type

type ThreatIntelSetArray

type ThreatIntelSetArray []ThreatIntelSetInput

func (ThreatIntelSetArray) ElementType

func (ThreatIntelSetArray) ElementType() reflect.Type

func (ThreatIntelSetArray) ToThreatIntelSetArrayOutput

func (i ThreatIntelSetArray) ToThreatIntelSetArrayOutput() ThreatIntelSetArrayOutput

func (ThreatIntelSetArray) ToThreatIntelSetArrayOutputWithContext

func (i ThreatIntelSetArray) ToThreatIntelSetArrayOutputWithContext(ctx context.Context) ThreatIntelSetArrayOutput

type ThreatIntelSetArrayInput

type ThreatIntelSetArrayInput interface {
	pulumi.Input

	ToThreatIntelSetArrayOutput() ThreatIntelSetArrayOutput
	ToThreatIntelSetArrayOutputWithContext(context.Context) ThreatIntelSetArrayOutput
}

ThreatIntelSetArrayInput is an input type that accepts ThreatIntelSetArray and ThreatIntelSetArrayOutput values. You can construct a concrete instance of `ThreatIntelSetArrayInput` via:

ThreatIntelSetArray{ ThreatIntelSetArgs{...} }

type ThreatIntelSetArrayOutput

type ThreatIntelSetArrayOutput struct{ *pulumi.OutputState }

func (ThreatIntelSetArrayOutput) ElementType

func (ThreatIntelSetArrayOutput) ElementType() reflect.Type

func (ThreatIntelSetArrayOutput) Index

func (ThreatIntelSetArrayOutput) ToThreatIntelSetArrayOutput

func (o ThreatIntelSetArrayOutput) ToThreatIntelSetArrayOutput() ThreatIntelSetArrayOutput

func (ThreatIntelSetArrayOutput) ToThreatIntelSetArrayOutputWithContext

func (o ThreatIntelSetArrayOutput) ToThreatIntelSetArrayOutputWithContext(ctx context.Context) ThreatIntelSetArrayOutput

type ThreatIntelSetInput

type ThreatIntelSetInput interface {
	pulumi.Input

	ToThreatIntelSetOutput() ThreatIntelSetOutput
	ToThreatIntelSetOutputWithContext(ctx context.Context) ThreatIntelSetOutput
}

type ThreatIntelSetMap

type ThreatIntelSetMap map[string]ThreatIntelSetInput

func (ThreatIntelSetMap) ElementType

func (ThreatIntelSetMap) ElementType() reflect.Type

func (ThreatIntelSetMap) ToThreatIntelSetMapOutput

func (i ThreatIntelSetMap) ToThreatIntelSetMapOutput() ThreatIntelSetMapOutput

func (ThreatIntelSetMap) ToThreatIntelSetMapOutputWithContext

func (i ThreatIntelSetMap) ToThreatIntelSetMapOutputWithContext(ctx context.Context) ThreatIntelSetMapOutput

type ThreatIntelSetMapInput

type ThreatIntelSetMapInput interface {
	pulumi.Input

	ToThreatIntelSetMapOutput() ThreatIntelSetMapOutput
	ToThreatIntelSetMapOutputWithContext(context.Context) ThreatIntelSetMapOutput
}

ThreatIntelSetMapInput is an input type that accepts ThreatIntelSetMap and ThreatIntelSetMapOutput values. You can construct a concrete instance of `ThreatIntelSetMapInput` via:

ThreatIntelSetMap{ "key": ThreatIntelSetArgs{...} }

type ThreatIntelSetMapOutput

type ThreatIntelSetMapOutput struct{ *pulumi.OutputState }

func (ThreatIntelSetMapOutput) ElementType

func (ThreatIntelSetMapOutput) ElementType() reflect.Type

func (ThreatIntelSetMapOutput) MapIndex

func (ThreatIntelSetMapOutput) ToThreatIntelSetMapOutput

func (o ThreatIntelSetMapOutput) ToThreatIntelSetMapOutput() ThreatIntelSetMapOutput

func (ThreatIntelSetMapOutput) ToThreatIntelSetMapOutputWithContext

func (o ThreatIntelSetMapOutput) ToThreatIntelSetMapOutputWithContext(ctx context.Context) ThreatIntelSetMapOutput

type ThreatIntelSetOutput

type ThreatIntelSetOutput struct{ *pulumi.OutputState }

func (ThreatIntelSetOutput) Activate

func (o ThreatIntelSetOutput) Activate() pulumi.BoolOutput

Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet.

func (ThreatIntelSetOutput) Arn

Amazon Resource Name (ARN) of the GuardDuty ThreatIntelSet.

func (ThreatIntelSetOutput) DetectorId

func (o ThreatIntelSetOutput) DetectorId() pulumi.StringOutput

The detector ID of the GuardDuty.

func (ThreatIntelSetOutput) ElementType

func (ThreatIntelSetOutput) ElementType() reflect.Type

func (ThreatIntelSetOutput) Format

The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`

func (ThreatIntelSetOutput) Location

The URI of the file that contains the ThreatIntelSet.

func (ThreatIntelSetOutput) Name

The friendly name to identify the ThreatIntelSet.

func (ThreatIntelSetOutput) Tags

Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ThreatIntelSetOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ThreatIntelSetOutput) ToThreatIntelSetOutput

func (o ThreatIntelSetOutput) ToThreatIntelSetOutput() ThreatIntelSetOutput

func (ThreatIntelSetOutput) ToThreatIntelSetOutputWithContext

func (o ThreatIntelSetOutput) ToThreatIntelSetOutputWithContext(ctx context.Context) ThreatIntelSetOutput

type ThreatIntelSetState

type ThreatIntelSetState struct {
	// Specifies whether GuardDuty is to start using the uploaded ThreatIntelSet.
	Activate pulumi.BoolPtrInput
	// Amazon Resource Name (ARN) of the GuardDuty ThreatIntelSet.
	Arn pulumi.StringPtrInput
	// The detector ID of the GuardDuty.
	DetectorId pulumi.StringPtrInput
	// The format of the file that contains the ThreatIntelSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
	Format pulumi.StringPtrInput
	// The URI of the file that contains the ThreatIntelSet.
	Location pulumi.StringPtrInput
	// The friendly name to identify the ThreatIntelSet.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ThreatIntelSetState) ElementType

func (ThreatIntelSetState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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