guardduty

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 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.
	//
	// Deprecated: datasources is deprecated. Use guardduty.DetectorFeature resources instead.
	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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	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/v7/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{
			Enable: pulumi.Bool(true),
			Datasources: &guardduty.DetectorDatasourcesArgs{
				S3Logs: &guardduty.DetectorDatasourcesS3LogsArgs{
					Enable: pulumi.Bool(true),
				},
				Kubernetes: &guardduty.DetectorDatasourcesKubernetesArgs{
					AuditLogs: &guardduty.DetectorDatasourcesKubernetesAuditLogsArgs{
						Enable: pulumi.Bool(false),
					},
				},
				MalwareProtection: &guardduty.DetectorDatasourcesMalwareProtectionArgs{
					ScanEc2InstanceWithFindings: &guardduty.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsArgs{
						EbsVolumes: &guardduty.DetectorDatasourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesArgs{
							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.
	//
	// Deprecated: datasources is deprecated. Use guardduty.DetectorFeature resources instead.
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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.
	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.
	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.

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.

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 {
	// If true, enables [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
	// Defaults to `true`.
	Enable bool `pulumi:"enable"`
}

type DetectorDatasourcesS3LogsArgs

type DetectorDatasourcesS3LogsArgs struct {
	// If true, enables [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html).
	// 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

If true, enables [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html). 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

If true, enables [S3 protection](https://docs.aws.amazon.com/guardduty/latest/ug/s3-protection.html). Defaults to `true`.

func (DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutput

func (o DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutput() DetectorDatasourcesS3LogsPtrOutput

func (DetectorDatasourcesS3LogsPtrOutput) ToDetectorDatasourcesS3LogsPtrOutputWithContext

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

type DetectorFeature

type DetectorFeature struct {
	pulumi.CustomResourceState

	// Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringOutput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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/v7/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, "s3_protection", &guardduty.DetectorFeatureArgs{
			DetectorId: example.ID(),
			Name:       pulumi.String("S3_DATA_EVENTS"),
			Status:     pulumi.String("ENABLED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Extended Threat Detection for EKS

To enable GuardDuty [Extended Threat Detection](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-extended-threat-detection.html) for EKS, you need at least one of these features enabled: [EKS Protection](https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html) or [Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring-configuration.html). For maximum detection coverage, enabling both is recommended to enhance detection capabilities.

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/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, "eks_protection", &guardduty.DetectorFeatureArgs{
			DetectorId: example.ID(),
			Name:       pulumi.String("EKS_AUDIT_LOGS"),
			Status:     pulumi.String("ENABLED"),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewDetectorFeature(ctx, "eks_runtime_monitoring", &guardduty.DetectorFeatureArgs{
			DetectorId: example.ID(),
			Name:       pulumi.String("EKS_RUNTIME_MONITORING"),
			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

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

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

func (*DetectorFeature) ElementType() reflect.Type

func (*DetectorFeature) ToDetectorFeatureOutput

func (i *DetectorFeature) ToDetectorFeatureOutput() DetectorFeatureOutput

func (*DetectorFeature) ToDetectorFeatureOutputWithContext

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

type DetectorFeatureAdditionalConfiguration

type DetectorFeatureAdditionalConfiguration struct {
	// The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
	Name string `pulumi:"name"`
	// The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
	Status string `pulumi:"status"`
}

type DetectorFeatureAdditionalConfigurationArgs

type DetectorFeatureAdditionalConfigurationArgs struct {
	// The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
	Name pulumi.StringInput `pulumi:"name"`
	// The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (DetectorFeatureAdditionalConfigurationArgs) ElementType

func (DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutput

func (i DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutput() DetectorFeatureAdditionalConfigurationOutput

func (DetectorFeatureAdditionalConfigurationArgs) ToDetectorFeatureAdditionalConfigurationOutputWithContext

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

type DetectorFeatureAdditionalConfigurationArray

type DetectorFeatureAdditionalConfigurationArray []DetectorFeatureAdditionalConfigurationInput

func (DetectorFeatureAdditionalConfigurationArray) ElementType

func (DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutput

func (i DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutput() DetectorFeatureAdditionalConfigurationArrayOutput

func (DetectorFeatureAdditionalConfigurationArray) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext

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

type DetectorFeatureAdditionalConfigurationArrayInput

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

type DetectorFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (DetectorFeatureAdditionalConfigurationArrayOutput) ElementType

func (DetectorFeatureAdditionalConfigurationArrayOutput) Index

func (DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutput

func (o DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutput() DetectorFeatureAdditionalConfigurationArrayOutput

func (DetectorFeatureAdditionalConfigurationArrayOutput) ToDetectorFeatureAdditionalConfigurationArrayOutputWithContext

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

type DetectorFeatureAdditionalConfigurationInput

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

type DetectorFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (DetectorFeatureAdditionalConfigurationOutput) ElementType

func (DetectorFeatureAdditionalConfigurationOutput) Name

The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.

func (DetectorFeatureAdditionalConfigurationOutput) Status

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

func (DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutput

func (o DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutput() DetectorFeatureAdditionalConfigurationOutput

func (DetectorFeatureAdditionalConfigurationOutput) ToDetectorFeatureAdditionalConfigurationOutputWithContext

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

type DetectorFeatureArgs

type DetectorFeatureArgs struct {
	// Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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

func (DetectorFeatureArgs) ElementType() reflect.Type

type DetectorFeatureArray

type DetectorFeatureArray []DetectorFeatureInput

func (DetectorFeatureArray) ElementType

func (DetectorFeatureArray) ElementType() reflect.Type

func (DetectorFeatureArray) ToDetectorFeatureArrayOutput

func (i DetectorFeatureArray) ToDetectorFeatureArrayOutput() DetectorFeatureArrayOutput

func (DetectorFeatureArray) ToDetectorFeatureArrayOutputWithContext

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

type DetectorFeatureArrayInput

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

type DetectorFeatureArrayOutput struct{ *pulumi.OutputState }

func (DetectorFeatureArrayOutput) ElementType

func (DetectorFeatureArrayOutput) ElementType() reflect.Type

func (DetectorFeatureArrayOutput) Index

func (DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutput

func (o DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutput() DetectorFeatureArrayOutput

func (DetectorFeatureArrayOutput) ToDetectorFeatureArrayOutputWithContext

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

type DetectorFeatureInput

type DetectorFeatureInput interface {
	pulumi.Input

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

type DetectorFeatureMap

type DetectorFeatureMap map[string]DetectorFeatureInput

func (DetectorFeatureMap) ElementType

func (DetectorFeatureMap) ElementType() reflect.Type

func (DetectorFeatureMap) ToDetectorFeatureMapOutput

func (i DetectorFeatureMap) ToDetectorFeatureMapOutput() DetectorFeatureMapOutput

func (DetectorFeatureMap) ToDetectorFeatureMapOutputWithContext

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

type DetectorFeatureMapInput

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

type DetectorFeatureMapOutput struct{ *pulumi.OutputState }

func (DetectorFeatureMapOutput) ElementType

func (DetectorFeatureMapOutput) ElementType() reflect.Type

func (DetectorFeatureMapOutput) MapIndex

func (DetectorFeatureMapOutput) ToDetectorFeatureMapOutput

func (o DetectorFeatureMapOutput) ToDetectorFeatureMapOutput() DetectorFeatureMapOutput

func (DetectorFeatureMapOutput) ToDetectorFeatureMapOutputWithContext

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

type DetectorFeatureOutput

type DetectorFeatureOutput struct{ *pulumi.OutputState }

func (DetectorFeatureOutput) AdditionalConfigurations

Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.

func (DetectorFeatureOutput) DetectorId

func (o DetectorFeatureOutput) DetectorId() pulumi.StringOutput

Amazon GuardDuty detector ID.

func (DetectorFeatureOutput) ElementType

func (DetectorFeatureOutput) ElementType() reflect.Type

func (DetectorFeatureOutput) Name

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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.

func (DetectorFeatureOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (DetectorFeatureOutput) Status

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

func (DetectorFeatureOutput) ToDetectorFeatureOutput

func (o DetectorFeatureOutput) ToDetectorFeatureOutput() DetectorFeatureOutput

func (DetectorFeatureOutput) ToDetectorFeatureOutputWithContext

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

type DetectorFeatureState

type DetectorFeatureState struct {
	// Additional feature configuration block for features`EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringPtrInput
}

func (DetectorFeatureState) ElementType

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 deprecated

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.

Deprecated: datasources is deprecated. Use guardduty.DetectorFeature resources instead.

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

func (o DetectorOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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

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

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.
	//
	// Deprecated: datasources is deprecated. Use guardduty.DetectorFeature resources instead.
	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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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.
	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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	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/v7/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{
			Name:       pulumi.String("MyFilter"),
			Action:     pulumi.String("ARCHIVE"),
			DetectorId: pulumi.Any(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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// 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) Region

func (o FilterOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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

func (o FilterOutput) TagsAll() pulumi.StringMapOutput

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

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// 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.
	TagsAll pulumi.StringMapInput
}

func (FilterState) ElementType

func (FilterState) ElementType() reflect.Type

type GetDetectorFeatureAdditionalConfiguration

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

type GetDetectorFeatureAdditionalConfigurationArgs

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

func (GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutput

func (i GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutput() GetDetectorFeatureAdditionalConfigurationOutput

func (GetDetectorFeatureAdditionalConfigurationArgs) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext

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

type GetDetectorFeatureAdditionalConfigurationArray

type GetDetectorFeatureAdditionalConfigurationArray []GetDetectorFeatureAdditionalConfigurationInput

func (GetDetectorFeatureAdditionalConfigurationArray) ElementType

func (GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutput

func (i GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutput() GetDetectorFeatureAdditionalConfigurationArrayOutput

func (GetDetectorFeatureAdditionalConfigurationArray) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext

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

type GetDetectorFeatureAdditionalConfigurationArrayInput

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

type GetDetectorFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ElementType

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) Index

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ToGetDetectorFeatureAdditionalConfigurationArrayOutput

func (GetDetectorFeatureAdditionalConfigurationArrayOutput) ToGetDetectorFeatureAdditionalConfigurationArrayOutputWithContext

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

type GetDetectorFeatureAdditionalConfigurationInput

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

type GetDetectorFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureAdditionalConfigurationOutput) ElementType

func (GetDetectorFeatureAdditionalConfigurationOutput) Name

The name of the detector feature.

func (GetDetectorFeatureAdditionalConfigurationOutput) Status

Current status of the detector.

func (GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutput

func (o GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutput() GetDetectorFeatureAdditionalConfigurationOutput

func (GetDetectorFeatureAdditionalConfigurationOutput) ToGetDetectorFeatureAdditionalConfigurationOutputWithContext

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

type GetDetectorFeatureType

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

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

func (GetDetectorFeatureTypeArgs) ElementType() reflect.Type

func (GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutput

func (i GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutput() GetDetectorFeatureTypeOutput

func (GetDetectorFeatureTypeArgs) ToGetDetectorFeatureTypeOutputWithContext

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

type GetDetectorFeatureTypeArray

type GetDetectorFeatureTypeArray []GetDetectorFeatureTypeInput

func (GetDetectorFeatureTypeArray) ElementType

func (GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutput

func (i GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutput() GetDetectorFeatureTypeArrayOutput

func (GetDetectorFeatureTypeArray) ToGetDetectorFeatureTypeArrayOutputWithContext

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

type GetDetectorFeatureTypeArrayInput

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

type GetDetectorFeatureTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureTypeArrayOutput) ElementType

func (GetDetectorFeatureTypeArrayOutput) Index

func (GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutput

func (o GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutput() GetDetectorFeatureTypeArrayOutput

func (GetDetectorFeatureTypeArrayOutput) ToGetDetectorFeatureTypeArrayOutputWithContext

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

type GetDetectorFeatureTypeInput

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

type GetDetectorFeatureTypeOutput struct{ *pulumi.OutputState }

func (GetDetectorFeatureTypeOutput) AdditionalConfigurations

Additional feature configuration.

func (GetDetectorFeatureTypeOutput) ElementType

func (GetDetectorFeatureTypeOutput) Name

The name of the detector feature.

func (GetDetectorFeatureTypeOutput) Status

Current status of the detector.

func (GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutput

func (o GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutput() GetDetectorFeatureTypeOutput

func (GetDetectorFeatureTypeOutput) ToGetDetectorFeatureTypeOutputWithContext

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

type GetFindingIdsArgs

type GetFindingIdsArgs struct {
	// ID of the GuardDuty detector.
	DetectorId string `pulumi:"detectorId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getFindingIds.

type GetFindingIdsOutputArgs

type GetFindingIdsOutputArgs struct {
	// ID of the GuardDuty detector.
	DetectorId pulumi.StringInput `pulumi:"detectorId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

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"`
	Region      string `pulumi:"region"`
}

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/v7/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: exampleAwsGuarddutyDetector.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) Region

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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	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/v7/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v7/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.NewBucket(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),
			Name: pulumi.String("MyIPSet"),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAcl(ctx, "bucket_acl", &s3.BucketAclArgs{
			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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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) Region

func (o IPSetOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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

func (o IPSetOutput) TagsAll() pulumi.StringMapOutput

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

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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.
	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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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/v7/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", nil)
		if err != nil {
			return err
		}
		memberDetector, err := guardduty.NewDetector(ctx, "member", nil)
		if err != nil {
			return err
		}
		memberMember, err := guardduty.NewMember(ctx, "member", &guardduty.MemberArgs{
			AccountId:  memberDetector.AccountId,
			DetectorId: primary.ID(),
			Email:      pulumi.String("required@example.com"),
			Invite:     pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewInviteAccepter(ctx, "member", &guardduty.InviteAccepterArgs{
			DetectorId:      memberDetector.ID(),
			MasterAccountId: primary.AccountId,
		}, 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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

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

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

func (InviteAccepterState) ElementType

func (InviteAccepterState) ElementType() reflect.Type

type LookupDetectorArgs

type LookupDetectorArgs struct {
	// ID of the detector.
	Id *string `pulumi:"id"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region *string `pulumi:"region"`
	// Map of tags for the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getDetector.

type LookupDetectorOutputArgs

type LookupDetectorOutputArgs struct {
	// ID of the detector.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Map of tags for the resource.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getDetector.

func (LookupDetectorOutputArgs) ElementType

func (LookupDetectorOutputArgs) ElementType() reflect.Type

type LookupDetectorResult

type LookupDetectorResult struct {
	// ARN of the detector.
	Arn string `pulumi:"arn"`
	// 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"`
	Region                     string `pulumi:"region"`
	// 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"`
	// Map of tags for the resource.
	Tags map[string]string `pulumi:"tags"`
}

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/v7/go/aws/guardduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type LookupDetectorResultOutput

type LookupDetectorResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDetector.

func (LookupDetectorResultOutput) Arn

ARN of the detector.

func (LookupDetectorResultOutput) ElementType

func (LookupDetectorResultOutput) ElementType() reflect.Type

func (LookupDetectorResultOutput) Features

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

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

Map of tags for the resource.

func (LookupDetectorResultOutput) ToLookupDetectorResultOutput

func (o LookupDetectorResultOutput) ToLookupDetectorResultOutput() LookupDetectorResultOutput

func (LookupDetectorResultOutput) ToLookupDetectorResultOutputWithContext

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

type MalwareProtectionPlan

type MalwareProtectionPlan struct {
	pulumi.CustomResourceState

	// Information about whether the tags will be added to the S3 object after scanning. See `actions` below.
	Actions MalwareProtectionPlanActionArrayOutput `pulumi:"actions"`
	// The ARN of the GuardDuty malware protection plan
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The timestamp when the Malware Protection plan resource was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.
	ProtectedResource MalwareProtectionPlanProtectedResourcePtrOutput `pulumi:"protectedResource"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.
	Role pulumi.StringOutput `pulumi:"role"`
	// The GuardDuty malware protection plan status. Valid values are `ACTIVE`, `WARNING`, and `ERROR`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Key-value mapping 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"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a resource to manage a GuardDuty malware protection plan.

## Import

Using `pulumi import`, import GuardDuty malware protection plans using their IDs. For example:

```sh $ pulumi import aws:guardduty/malwareProtectionPlan:MalwareProtectionPlan example 1234567890abcdef0123 ```

func GetMalwareProtectionPlan

func GetMalwareProtectionPlan(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MalwareProtectionPlanState, opts ...pulumi.ResourceOption) (*MalwareProtectionPlan, error)

GetMalwareProtectionPlan gets an existing MalwareProtectionPlan 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 NewMalwareProtectionPlan

func NewMalwareProtectionPlan(ctx *pulumi.Context,
	name string, args *MalwareProtectionPlanArgs, opts ...pulumi.ResourceOption) (*MalwareProtectionPlan, error)

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

func (*MalwareProtectionPlan) ElementType

func (*MalwareProtectionPlan) ElementType() reflect.Type

func (*MalwareProtectionPlan) ToMalwareProtectionPlanOutput

func (i *MalwareProtectionPlan) ToMalwareProtectionPlanOutput() MalwareProtectionPlanOutput

func (*MalwareProtectionPlan) ToMalwareProtectionPlanOutputWithContext

func (i *MalwareProtectionPlan) ToMalwareProtectionPlanOutputWithContext(ctx context.Context) MalwareProtectionPlanOutput

type MalwareProtectionPlanAction

type MalwareProtectionPlanAction struct {
	// Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
	Taggings []MalwareProtectionPlanActionTagging `pulumi:"taggings"`
}

type MalwareProtectionPlanActionArgs

type MalwareProtectionPlanActionArgs struct {
	// Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.
	Taggings MalwareProtectionPlanActionTaggingArrayInput `pulumi:"taggings"`
}

func (MalwareProtectionPlanActionArgs) ElementType

func (MalwareProtectionPlanActionArgs) ToMalwareProtectionPlanActionOutput

func (i MalwareProtectionPlanActionArgs) ToMalwareProtectionPlanActionOutput() MalwareProtectionPlanActionOutput

func (MalwareProtectionPlanActionArgs) ToMalwareProtectionPlanActionOutputWithContext

func (i MalwareProtectionPlanActionArgs) ToMalwareProtectionPlanActionOutputWithContext(ctx context.Context) MalwareProtectionPlanActionOutput

type MalwareProtectionPlanActionArray

type MalwareProtectionPlanActionArray []MalwareProtectionPlanActionInput

func (MalwareProtectionPlanActionArray) ElementType

func (MalwareProtectionPlanActionArray) ToMalwareProtectionPlanActionArrayOutput

func (i MalwareProtectionPlanActionArray) ToMalwareProtectionPlanActionArrayOutput() MalwareProtectionPlanActionArrayOutput

func (MalwareProtectionPlanActionArray) ToMalwareProtectionPlanActionArrayOutputWithContext

func (i MalwareProtectionPlanActionArray) ToMalwareProtectionPlanActionArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionArrayOutput

type MalwareProtectionPlanActionArrayInput

type MalwareProtectionPlanActionArrayInput interface {
	pulumi.Input

	ToMalwareProtectionPlanActionArrayOutput() MalwareProtectionPlanActionArrayOutput
	ToMalwareProtectionPlanActionArrayOutputWithContext(context.Context) MalwareProtectionPlanActionArrayOutput
}

MalwareProtectionPlanActionArrayInput is an input type that accepts MalwareProtectionPlanActionArray and MalwareProtectionPlanActionArrayOutput values. You can construct a concrete instance of `MalwareProtectionPlanActionArrayInput` via:

MalwareProtectionPlanActionArray{ MalwareProtectionPlanActionArgs{...} }

type MalwareProtectionPlanActionArrayOutput

type MalwareProtectionPlanActionArrayOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanActionArrayOutput) ElementType

func (MalwareProtectionPlanActionArrayOutput) Index

func (MalwareProtectionPlanActionArrayOutput) ToMalwareProtectionPlanActionArrayOutput

func (o MalwareProtectionPlanActionArrayOutput) ToMalwareProtectionPlanActionArrayOutput() MalwareProtectionPlanActionArrayOutput

func (MalwareProtectionPlanActionArrayOutput) ToMalwareProtectionPlanActionArrayOutputWithContext

func (o MalwareProtectionPlanActionArrayOutput) ToMalwareProtectionPlanActionArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionArrayOutput

type MalwareProtectionPlanActionInput

type MalwareProtectionPlanActionInput interface {
	pulumi.Input

	ToMalwareProtectionPlanActionOutput() MalwareProtectionPlanActionOutput
	ToMalwareProtectionPlanActionOutputWithContext(context.Context) MalwareProtectionPlanActionOutput
}

MalwareProtectionPlanActionInput is an input type that accepts MalwareProtectionPlanActionArgs and MalwareProtectionPlanActionOutput values. You can construct a concrete instance of `MalwareProtectionPlanActionInput` via:

MalwareProtectionPlanActionArgs{...}

type MalwareProtectionPlanActionOutput

type MalwareProtectionPlanActionOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanActionOutput) ElementType

func (MalwareProtectionPlanActionOutput) Taggings

Indicates whether the scanned S3 object will have tags about the scan result. See `tagging` below.

func (MalwareProtectionPlanActionOutput) ToMalwareProtectionPlanActionOutput

func (o MalwareProtectionPlanActionOutput) ToMalwareProtectionPlanActionOutput() MalwareProtectionPlanActionOutput

func (MalwareProtectionPlanActionOutput) ToMalwareProtectionPlanActionOutputWithContext

func (o MalwareProtectionPlanActionOutput) ToMalwareProtectionPlanActionOutputWithContext(ctx context.Context) MalwareProtectionPlanActionOutput

type MalwareProtectionPlanActionTagging

type MalwareProtectionPlanActionTagging struct {
	// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED`
	Status string `pulumi:"status"`
}

type MalwareProtectionPlanActionTaggingArgs

type MalwareProtectionPlanActionTaggingArgs struct {
	// Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED`
	Status pulumi.StringInput `pulumi:"status"`
}

func (MalwareProtectionPlanActionTaggingArgs) ElementType

func (MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutput

func (i MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput

func (MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutputWithContext

func (i MalwareProtectionPlanActionTaggingArgs) ToMalwareProtectionPlanActionTaggingOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingOutput

type MalwareProtectionPlanActionTaggingArray

type MalwareProtectionPlanActionTaggingArray []MalwareProtectionPlanActionTaggingInput

func (MalwareProtectionPlanActionTaggingArray) ElementType

func (MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutput

func (i MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput

func (MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext

func (i MalwareProtectionPlanActionTaggingArray) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingArrayOutput

type MalwareProtectionPlanActionTaggingArrayInput

type MalwareProtectionPlanActionTaggingArrayInput interface {
	pulumi.Input

	ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput
	ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(context.Context) MalwareProtectionPlanActionTaggingArrayOutput
}

MalwareProtectionPlanActionTaggingArrayInput is an input type that accepts MalwareProtectionPlanActionTaggingArray and MalwareProtectionPlanActionTaggingArrayOutput values. You can construct a concrete instance of `MalwareProtectionPlanActionTaggingArrayInput` via:

MalwareProtectionPlanActionTaggingArray{ MalwareProtectionPlanActionTaggingArgs{...} }

type MalwareProtectionPlanActionTaggingArrayOutput

type MalwareProtectionPlanActionTaggingArrayOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanActionTaggingArrayOutput) ElementType

func (MalwareProtectionPlanActionTaggingArrayOutput) Index

func (MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutput

func (o MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutput() MalwareProtectionPlanActionTaggingArrayOutput

func (MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext

func (o MalwareProtectionPlanActionTaggingArrayOutput) ToMalwareProtectionPlanActionTaggingArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingArrayOutput

type MalwareProtectionPlanActionTaggingInput

type MalwareProtectionPlanActionTaggingInput interface {
	pulumi.Input

	ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput
	ToMalwareProtectionPlanActionTaggingOutputWithContext(context.Context) MalwareProtectionPlanActionTaggingOutput
}

MalwareProtectionPlanActionTaggingInput is an input type that accepts MalwareProtectionPlanActionTaggingArgs and MalwareProtectionPlanActionTaggingOutput values. You can construct a concrete instance of `MalwareProtectionPlanActionTaggingInput` via:

MalwareProtectionPlanActionTaggingArgs{...}

type MalwareProtectionPlanActionTaggingOutput

type MalwareProtectionPlanActionTaggingOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanActionTaggingOutput) ElementType

func (MalwareProtectionPlanActionTaggingOutput) Status

Indicates whether or not the tags will added. Valid values are `DISABLED` and `ENABLED`. Defaults to `DISABLED`

func (MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutput

func (o MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutput() MalwareProtectionPlanActionTaggingOutput

func (MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutputWithContext

func (o MalwareProtectionPlanActionTaggingOutput) ToMalwareProtectionPlanActionTaggingOutputWithContext(ctx context.Context) MalwareProtectionPlanActionTaggingOutput

type MalwareProtectionPlanArgs

type MalwareProtectionPlanArgs struct {
	// Information about whether the tags will be added to the S3 object after scanning. See `actions` below.
	Actions MalwareProtectionPlanActionArrayInput
	// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.
	ProtectedResource MalwareProtectionPlanProtectedResourcePtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.
	Role pulumi.StringInput
	// Key-value mapping 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 MalwareProtectionPlan resource.

func (MalwareProtectionPlanArgs) ElementType

func (MalwareProtectionPlanArgs) ElementType() reflect.Type

type MalwareProtectionPlanArray

type MalwareProtectionPlanArray []MalwareProtectionPlanInput

func (MalwareProtectionPlanArray) ElementType

func (MalwareProtectionPlanArray) ElementType() reflect.Type

func (MalwareProtectionPlanArray) ToMalwareProtectionPlanArrayOutput

func (i MalwareProtectionPlanArray) ToMalwareProtectionPlanArrayOutput() MalwareProtectionPlanArrayOutput

func (MalwareProtectionPlanArray) ToMalwareProtectionPlanArrayOutputWithContext

func (i MalwareProtectionPlanArray) ToMalwareProtectionPlanArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanArrayOutput

type MalwareProtectionPlanArrayInput

type MalwareProtectionPlanArrayInput interface {
	pulumi.Input

	ToMalwareProtectionPlanArrayOutput() MalwareProtectionPlanArrayOutput
	ToMalwareProtectionPlanArrayOutputWithContext(context.Context) MalwareProtectionPlanArrayOutput
}

MalwareProtectionPlanArrayInput is an input type that accepts MalwareProtectionPlanArray and MalwareProtectionPlanArrayOutput values. You can construct a concrete instance of `MalwareProtectionPlanArrayInput` via:

MalwareProtectionPlanArray{ MalwareProtectionPlanArgs{...} }

type MalwareProtectionPlanArrayOutput

type MalwareProtectionPlanArrayOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanArrayOutput) ElementType

func (MalwareProtectionPlanArrayOutput) Index

func (MalwareProtectionPlanArrayOutput) ToMalwareProtectionPlanArrayOutput

func (o MalwareProtectionPlanArrayOutput) ToMalwareProtectionPlanArrayOutput() MalwareProtectionPlanArrayOutput

func (MalwareProtectionPlanArrayOutput) ToMalwareProtectionPlanArrayOutputWithContext

func (o MalwareProtectionPlanArrayOutput) ToMalwareProtectionPlanArrayOutputWithContext(ctx context.Context) MalwareProtectionPlanArrayOutput

type MalwareProtectionPlanInput

type MalwareProtectionPlanInput interface {
	pulumi.Input

	ToMalwareProtectionPlanOutput() MalwareProtectionPlanOutput
	ToMalwareProtectionPlanOutputWithContext(ctx context.Context) MalwareProtectionPlanOutput
}

type MalwareProtectionPlanMap

type MalwareProtectionPlanMap map[string]MalwareProtectionPlanInput

func (MalwareProtectionPlanMap) ElementType

func (MalwareProtectionPlanMap) ElementType() reflect.Type

func (MalwareProtectionPlanMap) ToMalwareProtectionPlanMapOutput

func (i MalwareProtectionPlanMap) ToMalwareProtectionPlanMapOutput() MalwareProtectionPlanMapOutput

func (MalwareProtectionPlanMap) ToMalwareProtectionPlanMapOutputWithContext

func (i MalwareProtectionPlanMap) ToMalwareProtectionPlanMapOutputWithContext(ctx context.Context) MalwareProtectionPlanMapOutput

type MalwareProtectionPlanMapInput

type MalwareProtectionPlanMapInput interface {
	pulumi.Input

	ToMalwareProtectionPlanMapOutput() MalwareProtectionPlanMapOutput
	ToMalwareProtectionPlanMapOutputWithContext(context.Context) MalwareProtectionPlanMapOutput
}

MalwareProtectionPlanMapInput is an input type that accepts MalwareProtectionPlanMap and MalwareProtectionPlanMapOutput values. You can construct a concrete instance of `MalwareProtectionPlanMapInput` via:

MalwareProtectionPlanMap{ "key": MalwareProtectionPlanArgs{...} }

type MalwareProtectionPlanMapOutput

type MalwareProtectionPlanMapOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanMapOutput) ElementType

func (MalwareProtectionPlanMapOutput) MapIndex

func (MalwareProtectionPlanMapOutput) ToMalwareProtectionPlanMapOutput

func (o MalwareProtectionPlanMapOutput) ToMalwareProtectionPlanMapOutput() MalwareProtectionPlanMapOutput

func (MalwareProtectionPlanMapOutput) ToMalwareProtectionPlanMapOutputWithContext

func (o MalwareProtectionPlanMapOutput) ToMalwareProtectionPlanMapOutputWithContext(ctx context.Context) MalwareProtectionPlanMapOutput

type MalwareProtectionPlanOutput

type MalwareProtectionPlanOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanOutput) Actions

Information about whether the tags will be added to the S3 object after scanning. See `actions` below.

func (MalwareProtectionPlanOutput) Arn

The ARN of the GuardDuty malware protection plan

func (MalwareProtectionPlanOutput) CreatedAt

The timestamp when the Malware Protection plan resource was created.

func (MalwareProtectionPlanOutput) ElementType

func (MalwareProtectionPlanOutput) ProtectedResource

Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.

func (MalwareProtectionPlanOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (MalwareProtectionPlanOutput) Role

ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.

func (MalwareProtectionPlanOutput) Status

The GuardDuty malware protection plan status. Valid values are `ACTIVE`, `WARNING`, and `ERROR`.

func (MalwareProtectionPlanOutput) Tags

Key-value mapping 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 (MalwareProtectionPlanOutput) TagsAll

func (MalwareProtectionPlanOutput) ToMalwareProtectionPlanOutput

func (o MalwareProtectionPlanOutput) ToMalwareProtectionPlanOutput() MalwareProtectionPlanOutput

func (MalwareProtectionPlanOutput) ToMalwareProtectionPlanOutputWithContext

func (o MalwareProtectionPlanOutput) ToMalwareProtectionPlanOutputWithContext(ctx context.Context) MalwareProtectionPlanOutput

type MalwareProtectionPlanProtectedResource

type MalwareProtectionPlanProtectedResource struct {
	// Information about the protected S3 bucket resource. See `s3Bucket` below.
	S3Bucket *MalwareProtectionPlanProtectedResourceS3Bucket `pulumi:"s3Bucket"`
}

type MalwareProtectionPlanProtectedResourceArgs

type MalwareProtectionPlanProtectedResourceArgs struct {
	// Information about the protected S3 bucket resource. See `s3Bucket` below.
	S3Bucket MalwareProtectionPlanProtectedResourceS3BucketPtrInput `pulumi:"s3Bucket"`
}

func (MalwareProtectionPlanProtectedResourceArgs) ElementType

func (MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourceOutput

func (i MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourceOutput() MalwareProtectionPlanProtectedResourceOutput

func (MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourceOutputWithContext

func (i MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourceOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceOutput

func (MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourcePtrOutput

func (i MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourcePtrOutput() MalwareProtectionPlanProtectedResourcePtrOutput

func (MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext

func (i MalwareProtectionPlanProtectedResourceArgs) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourcePtrOutput

type MalwareProtectionPlanProtectedResourceInput

type MalwareProtectionPlanProtectedResourceInput interface {
	pulumi.Input

	ToMalwareProtectionPlanProtectedResourceOutput() MalwareProtectionPlanProtectedResourceOutput
	ToMalwareProtectionPlanProtectedResourceOutputWithContext(context.Context) MalwareProtectionPlanProtectedResourceOutput
}

MalwareProtectionPlanProtectedResourceInput is an input type that accepts MalwareProtectionPlanProtectedResourceArgs and MalwareProtectionPlanProtectedResourceOutput values. You can construct a concrete instance of `MalwareProtectionPlanProtectedResourceInput` via:

MalwareProtectionPlanProtectedResourceArgs{...}

type MalwareProtectionPlanProtectedResourceOutput

type MalwareProtectionPlanProtectedResourceOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanProtectedResourceOutput) ElementType

func (MalwareProtectionPlanProtectedResourceOutput) S3Bucket

Information about the protected S3 bucket resource. See `s3Bucket` below.

func (MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourceOutput

func (o MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourceOutput() MalwareProtectionPlanProtectedResourceOutput

func (MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourceOutputWithContext

func (o MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourceOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceOutput

func (MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourcePtrOutput

func (o MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourcePtrOutput() MalwareProtectionPlanProtectedResourcePtrOutput

func (MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext

func (o MalwareProtectionPlanProtectedResourceOutput) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourcePtrOutput

type MalwareProtectionPlanProtectedResourcePtrInput

type MalwareProtectionPlanProtectedResourcePtrInput interface {
	pulumi.Input

	ToMalwareProtectionPlanProtectedResourcePtrOutput() MalwareProtectionPlanProtectedResourcePtrOutput
	ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext(context.Context) MalwareProtectionPlanProtectedResourcePtrOutput
}

MalwareProtectionPlanProtectedResourcePtrInput is an input type that accepts MalwareProtectionPlanProtectedResourceArgs, MalwareProtectionPlanProtectedResourcePtr and MalwareProtectionPlanProtectedResourcePtrOutput values. You can construct a concrete instance of `MalwareProtectionPlanProtectedResourcePtrInput` via:

        MalwareProtectionPlanProtectedResourceArgs{...}

or:

        nil

type MalwareProtectionPlanProtectedResourcePtrOutput

type MalwareProtectionPlanProtectedResourcePtrOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanProtectedResourcePtrOutput) Elem

func (MalwareProtectionPlanProtectedResourcePtrOutput) ElementType

func (MalwareProtectionPlanProtectedResourcePtrOutput) S3Bucket

Information about the protected S3 bucket resource. See `s3Bucket` below.

func (MalwareProtectionPlanProtectedResourcePtrOutput) ToMalwareProtectionPlanProtectedResourcePtrOutput

func (o MalwareProtectionPlanProtectedResourcePtrOutput) ToMalwareProtectionPlanProtectedResourcePtrOutput() MalwareProtectionPlanProtectedResourcePtrOutput

func (MalwareProtectionPlanProtectedResourcePtrOutput) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext

func (o MalwareProtectionPlanProtectedResourcePtrOutput) ToMalwareProtectionPlanProtectedResourcePtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourcePtrOutput

type MalwareProtectionPlanProtectedResourceS3Bucket

type MalwareProtectionPlanProtectedResourceS3Bucket struct {
	// Name of the S3 bucket.
	BucketName string `pulumi:"bucketName"`
	// The list of object prefixes that specify the S3 objects that will be scanned.
	ObjectPrefixes []string `pulumi:"objectPrefixes"`
}

type MalwareProtectionPlanProtectedResourceS3BucketArgs

type MalwareProtectionPlanProtectedResourceS3BucketArgs struct {
	// Name of the S3 bucket.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The list of object prefixes that specify the S3 objects that will be scanned.
	ObjectPrefixes pulumi.StringArrayInput `pulumi:"objectPrefixes"`
}

func (MalwareProtectionPlanProtectedResourceS3BucketArgs) ElementType

func (MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketOutput

func (i MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketOutput() MalwareProtectionPlanProtectedResourceS3BucketOutput

func (MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketOutputWithContext

func (i MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceS3BucketOutput

func (MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput

func (i MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput() MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

func (MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext

func (i MalwareProtectionPlanProtectedResourceS3BucketArgs) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

type MalwareProtectionPlanProtectedResourceS3BucketInput

type MalwareProtectionPlanProtectedResourceS3BucketInput interface {
	pulumi.Input

	ToMalwareProtectionPlanProtectedResourceS3BucketOutput() MalwareProtectionPlanProtectedResourceS3BucketOutput
	ToMalwareProtectionPlanProtectedResourceS3BucketOutputWithContext(context.Context) MalwareProtectionPlanProtectedResourceS3BucketOutput
}

MalwareProtectionPlanProtectedResourceS3BucketInput is an input type that accepts MalwareProtectionPlanProtectedResourceS3BucketArgs and MalwareProtectionPlanProtectedResourceS3BucketOutput values. You can construct a concrete instance of `MalwareProtectionPlanProtectedResourceS3BucketInput` via:

MalwareProtectionPlanProtectedResourceS3BucketArgs{...}

type MalwareProtectionPlanProtectedResourceS3BucketOutput

type MalwareProtectionPlanProtectedResourceS3BucketOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) BucketName

Name of the S3 bucket.

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ElementType

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ObjectPrefixes

The list of object prefixes that specify the S3 objects that will be scanned.

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketOutput

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketOutputWithContext

func (o MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceS3BucketOutput

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput

func (o MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput() MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

func (MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext

func (o MalwareProtectionPlanProtectedResourceS3BucketOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

type MalwareProtectionPlanProtectedResourceS3BucketPtrInput

type MalwareProtectionPlanProtectedResourceS3BucketPtrInput interface {
	pulumi.Input

	ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput() MalwareProtectionPlanProtectedResourceS3BucketPtrOutput
	ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext(context.Context) MalwareProtectionPlanProtectedResourceS3BucketPtrOutput
}

MalwareProtectionPlanProtectedResourceS3BucketPtrInput is an input type that accepts MalwareProtectionPlanProtectedResourceS3BucketArgs, MalwareProtectionPlanProtectedResourceS3BucketPtr and MalwareProtectionPlanProtectedResourceS3BucketPtrOutput values. You can construct a concrete instance of `MalwareProtectionPlanProtectedResourceS3BucketPtrInput` via:

        MalwareProtectionPlanProtectedResourceS3BucketArgs{...}

or:

        nil

type MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

type MalwareProtectionPlanProtectedResourceS3BucketPtrOutput struct{ *pulumi.OutputState }

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) BucketName

Name of the S3 bucket.

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) Elem

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) ElementType

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) ObjectPrefixes

The list of object prefixes that specify the S3 objects that will be scanned.

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutput

func (MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext

func (o MalwareProtectionPlanProtectedResourceS3BucketPtrOutput) ToMalwareProtectionPlanProtectedResourceS3BucketPtrOutputWithContext(ctx context.Context) MalwareProtectionPlanProtectedResourceS3BucketPtrOutput

type MalwareProtectionPlanState

type MalwareProtectionPlanState struct {
	// Information about whether the tags will be added to the S3 object after scanning. See `actions` below.
	Actions MalwareProtectionPlanActionArrayInput
	// The ARN of the GuardDuty malware protection plan
	Arn pulumi.StringPtrInput
	// The timestamp when the Malware Protection plan resource was created.
	CreatedAt pulumi.StringPtrInput
	// Information about the protected resource that is associated with the created Malware Protection plan. Presently, S3Bucket is the only supported protected resource. See `protectedResource` below.
	ProtectedResource MalwareProtectionPlanProtectedResourcePtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// ARN of IAM role that includes the permissions required to scan and add tags to the associated protected resource.
	Role pulumi.StringPtrInput
	// The GuardDuty malware protection plan status. Valid values are `ACTIVE`, `WARNING`, and `ERROR`.
	Status pulumi.StringPtrInput
	// Key-value mapping 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
	TagsAll pulumi.StringMapInput
}

func (MalwareProtectionPlanState) ElementType

func (MalwareProtectionPlanState) ElementType() reflect.Type

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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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/v7/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
		}
		member, err := guardduty.NewDetector(ctx, "member", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewMember(ctx, "member", &guardduty.MemberArgs{
			AccountId:         member.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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

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 MemberDetectorFeature

type MemberDetectorFeature struct {
	pulumi.CustomResourceState

	// Member account ID to be updated.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Additional feature configuration block. See below.
	AdditionalConfigurations MemberDetectorFeatureAdditionalConfigurationArrayOutput `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`,`RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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) for a member account.

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

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/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.NewMemberDetectorFeature(ctx, "runtime_monitoring", &guardduty.MemberDetectorFeatureArgs{
			DetectorId: example.ID(),
			AccountId:  pulumi.String("123456789012"),
			Name:       pulumi.String("S3_DATA_EVENTS"),
			Status:     pulumi.String("ENABLED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetMemberDetectorFeature

func GetMemberDetectorFeature(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MemberDetectorFeatureState, opts ...pulumi.ResourceOption) (*MemberDetectorFeature, error)

GetMemberDetectorFeature gets an existing MemberDetectorFeature 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 NewMemberDetectorFeature

func NewMemberDetectorFeature(ctx *pulumi.Context,
	name string, args *MemberDetectorFeatureArgs, opts ...pulumi.ResourceOption) (*MemberDetectorFeature, error)

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

func (*MemberDetectorFeature) ElementType

func (*MemberDetectorFeature) ElementType() reflect.Type

func (*MemberDetectorFeature) ToMemberDetectorFeatureOutput

func (i *MemberDetectorFeature) ToMemberDetectorFeatureOutput() MemberDetectorFeatureOutput

func (*MemberDetectorFeature) ToMemberDetectorFeatureOutputWithContext

func (i *MemberDetectorFeature) ToMemberDetectorFeatureOutputWithContext(ctx context.Context) MemberDetectorFeatureOutput

type MemberDetectorFeatureAdditionalConfiguration

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

type MemberDetectorFeatureAdditionalConfigurationArgs

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

func (MemberDetectorFeatureAdditionalConfigurationArgs) ElementType

func (MemberDetectorFeatureAdditionalConfigurationArgs) ToMemberDetectorFeatureAdditionalConfigurationOutput

func (i MemberDetectorFeatureAdditionalConfigurationArgs) ToMemberDetectorFeatureAdditionalConfigurationOutput() MemberDetectorFeatureAdditionalConfigurationOutput

func (MemberDetectorFeatureAdditionalConfigurationArgs) ToMemberDetectorFeatureAdditionalConfigurationOutputWithContext

func (i MemberDetectorFeatureAdditionalConfigurationArgs) ToMemberDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) MemberDetectorFeatureAdditionalConfigurationOutput

type MemberDetectorFeatureAdditionalConfigurationArray

type MemberDetectorFeatureAdditionalConfigurationArray []MemberDetectorFeatureAdditionalConfigurationInput

func (MemberDetectorFeatureAdditionalConfigurationArray) ElementType

func (MemberDetectorFeatureAdditionalConfigurationArray) ToMemberDetectorFeatureAdditionalConfigurationArrayOutput

func (i MemberDetectorFeatureAdditionalConfigurationArray) ToMemberDetectorFeatureAdditionalConfigurationArrayOutput() MemberDetectorFeatureAdditionalConfigurationArrayOutput

func (MemberDetectorFeatureAdditionalConfigurationArray) ToMemberDetectorFeatureAdditionalConfigurationArrayOutputWithContext

func (i MemberDetectorFeatureAdditionalConfigurationArray) ToMemberDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) MemberDetectorFeatureAdditionalConfigurationArrayOutput

type MemberDetectorFeatureAdditionalConfigurationArrayInput

type MemberDetectorFeatureAdditionalConfigurationArrayInput interface {
	pulumi.Input

	ToMemberDetectorFeatureAdditionalConfigurationArrayOutput() MemberDetectorFeatureAdditionalConfigurationArrayOutput
	ToMemberDetectorFeatureAdditionalConfigurationArrayOutputWithContext(context.Context) MemberDetectorFeatureAdditionalConfigurationArrayOutput
}

MemberDetectorFeatureAdditionalConfigurationArrayInput is an input type that accepts MemberDetectorFeatureAdditionalConfigurationArray and MemberDetectorFeatureAdditionalConfigurationArrayOutput values. You can construct a concrete instance of `MemberDetectorFeatureAdditionalConfigurationArrayInput` via:

MemberDetectorFeatureAdditionalConfigurationArray{ MemberDetectorFeatureAdditionalConfigurationArgs{...} }

type MemberDetectorFeatureAdditionalConfigurationArrayOutput

type MemberDetectorFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (MemberDetectorFeatureAdditionalConfigurationArrayOutput) ElementType

func (MemberDetectorFeatureAdditionalConfigurationArrayOutput) Index

func (MemberDetectorFeatureAdditionalConfigurationArrayOutput) ToMemberDetectorFeatureAdditionalConfigurationArrayOutput

func (MemberDetectorFeatureAdditionalConfigurationArrayOutput) ToMemberDetectorFeatureAdditionalConfigurationArrayOutputWithContext

func (o MemberDetectorFeatureAdditionalConfigurationArrayOutput) ToMemberDetectorFeatureAdditionalConfigurationArrayOutputWithContext(ctx context.Context) MemberDetectorFeatureAdditionalConfigurationArrayOutput

type MemberDetectorFeatureAdditionalConfigurationInput

type MemberDetectorFeatureAdditionalConfigurationInput interface {
	pulumi.Input

	ToMemberDetectorFeatureAdditionalConfigurationOutput() MemberDetectorFeatureAdditionalConfigurationOutput
	ToMemberDetectorFeatureAdditionalConfigurationOutputWithContext(context.Context) MemberDetectorFeatureAdditionalConfigurationOutput
}

MemberDetectorFeatureAdditionalConfigurationInput is an input type that accepts MemberDetectorFeatureAdditionalConfigurationArgs and MemberDetectorFeatureAdditionalConfigurationOutput values. You can construct a concrete instance of `MemberDetectorFeatureAdditionalConfigurationInput` via:

MemberDetectorFeatureAdditionalConfigurationArgs{...}

type MemberDetectorFeatureAdditionalConfigurationOutput

type MemberDetectorFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (MemberDetectorFeatureAdditionalConfigurationOutput) ElementType

func (MemberDetectorFeatureAdditionalConfigurationOutput) Name

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

func (MemberDetectorFeatureAdditionalConfigurationOutput) Status

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

func (MemberDetectorFeatureAdditionalConfigurationOutput) ToMemberDetectorFeatureAdditionalConfigurationOutput

func (o MemberDetectorFeatureAdditionalConfigurationOutput) ToMemberDetectorFeatureAdditionalConfigurationOutput() MemberDetectorFeatureAdditionalConfigurationOutput

func (MemberDetectorFeatureAdditionalConfigurationOutput) ToMemberDetectorFeatureAdditionalConfigurationOutputWithContext

func (o MemberDetectorFeatureAdditionalConfigurationOutput) ToMemberDetectorFeatureAdditionalConfigurationOutputWithContext(ctx context.Context) MemberDetectorFeatureAdditionalConfigurationOutput

type MemberDetectorFeatureArgs

type MemberDetectorFeatureArgs struct {
	// Member account ID to be updated.
	AccountId pulumi.StringInput
	// Additional feature configuration block. See below.
	AdditionalConfigurations MemberDetectorFeatureAdditionalConfigurationArrayInput
	// 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`,`RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringInput
}

The set of arguments for constructing a MemberDetectorFeature resource.

func (MemberDetectorFeatureArgs) ElementType

func (MemberDetectorFeatureArgs) ElementType() reflect.Type

type MemberDetectorFeatureArray

type MemberDetectorFeatureArray []MemberDetectorFeatureInput

func (MemberDetectorFeatureArray) ElementType

func (MemberDetectorFeatureArray) ElementType() reflect.Type

func (MemberDetectorFeatureArray) ToMemberDetectorFeatureArrayOutput

func (i MemberDetectorFeatureArray) ToMemberDetectorFeatureArrayOutput() MemberDetectorFeatureArrayOutput

func (MemberDetectorFeatureArray) ToMemberDetectorFeatureArrayOutputWithContext

func (i MemberDetectorFeatureArray) ToMemberDetectorFeatureArrayOutputWithContext(ctx context.Context) MemberDetectorFeatureArrayOutput

type MemberDetectorFeatureArrayInput

type MemberDetectorFeatureArrayInput interface {
	pulumi.Input

	ToMemberDetectorFeatureArrayOutput() MemberDetectorFeatureArrayOutput
	ToMemberDetectorFeatureArrayOutputWithContext(context.Context) MemberDetectorFeatureArrayOutput
}

MemberDetectorFeatureArrayInput is an input type that accepts MemberDetectorFeatureArray and MemberDetectorFeatureArrayOutput values. You can construct a concrete instance of `MemberDetectorFeatureArrayInput` via:

MemberDetectorFeatureArray{ MemberDetectorFeatureArgs{...} }

type MemberDetectorFeatureArrayOutput

type MemberDetectorFeatureArrayOutput struct{ *pulumi.OutputState }

func (MemberDetectorFeatureArrayOutput) ElementType

func (MemberDetectorFeatureArrayOutput) Index

func (MemberDetectorFeatureArrayOutput) ToMemberDetectorFeatureArrayOutput

func (o MemberDetectorFeatureArrayOutput) ToMemberDetectorFeatureArrayOutput() MemberDetectorFeatureArrayOutput

func (MemberDetectorFeatureArrayOutput) ToMemberDetectorFeatureArrayOutputWithContext

func (o MemberDetectorFeatureArrayOutput) ToMemberDetectorFeatureArrayOutputWithContext(ctx context.Context) MemberDetectorFeatureArrayOutput

type MemberDetectorFeatureInput

type MemberDetectorFeatureInput interface {
	pulumi.Input

	ToMemberDetectorFeatureOutput() MemberDetectorFeatureOutput
	ToMemberDetectorFeatureOutputWithContext(ctx context.Context) MemberDetectorFeatureOutput
}

type MemberDetectorFeatureMap

type MemberDetectorFeatureMap map[string]MemberDetectorFeatureInput

func (MemberDetectorFeatureMap) ElementType

func (MemberDetectorFeatureMap) ElementType() reflect.Type

func (MemberDetectorFeatureMap) ToMemberDetectorFeatureMapOutput

func (i MemberDetectorFeatureMap) ToMemberDetectorFeatureMapOutput() MemberDetectorFeatureMapOutput

func (MemberDetectorFeatureMap) ToMemberDetectorFeatureMapOutputWithContext

func (i MemberDetectorFeatureMap) ToMemberDetectorFeatureMapOutputWithContext(ctx context.Context) MemberDetectorFeatureMapOutput

type MemberDetectorFeatureMapInput

type MemberDetectorFeatureMapInput interface {
	pulumi.Input

	ToMemberDetectorFeatureMapOutput() MemberDetectorFeatureMapOutput
	ToMemberDetectorFeatureMapOutputWithContext(context.Context) MemberDetectorFeatureMapOutput
}

MemberDetectorFeatureMapInput is an input type that accepts MemberDetectorFeatureMap and MemberDetectorFeatureMapOutput values. You can construct a concrete instance of `MemberDetectorFeatureMapInput` via:

MemberDetectorFeatureMap{ "key": MemberDetectorFeatureArgs{...} }

type MemberDetectorFeatureMapOutput

type MemberDetectorFeatureMapOutput struct{ *pulumi.OutputState }

func (MemberDetectorFeatureMapOutput) ElementType

func (MemberDetectorFeatureMapOutput) MapIndex

func (MemberDetectorFeatureMapOutput) ToMemberDetectorFeatureMapOutput

func (o MemberDetectorFeatureMapOutput) ToMemberDetectorFeatureMapOutput() MemberDetectorFeatureMapOutput

func (MemberDetectorFeatureMapOutput) ToMemberDetectorFeatureMapOutputWithContext

func (o MemberDetectorFeatureMapOutput) ToMemberDetectorFeatureMapOutputWithContext(ctx context.Context) MemberDetectorFeatureMapOutput

type MemberDetectorFeatureOutput

type MemberDetectorFeatureOutput struct{ *pulumi.OutputState }

func (MemberDetectorFeatureOutput) AccountId

Member account ID to be updated.

func (MemberDetectorFeatureOutput) AdditionalConfigurations

Additional feature configuration block. See below.

func (MemberDetectorFeatureOutput) DetectorId

Amazon GuardDuty detector ID.

func (MemberDetectorFeatureOutput) ElementType

func (MemberDetectorFeatureOutput) Name

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

func (MemberDetectorFeatureOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (MemberDetectorFeatureOutput) Status

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

func (MemberDetectorFeatureOutput) ToMemberDetectorFeatureOutput

func (o MemberDetectorFeatureOutput) ToMemberDetectorFeatureOutput() MemberDetectorFeatureOutput

func (MemberDetectorFeatureOutput) ToMemberDetectorFeatureOutputWithContext

func (o MemberDetectorFeatureOutput) ToMemberDetectorFeatureOutputWithContext(ctx context.Context) MemberDetectorFeatureOutput

type MemberDetectorFeatureState

type MemberDetectorFeatureState struct {
	// Member account ID to be updated.
	AccountId pulumi.StringPtrInput
	// Additional feature configuration block. See below.
	AdditionalConfigurations MemberDetectorFeatureAdditionalConfigurationArrayInput
	// 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`,`RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
	Status pulumi.StringPtrInput
}

func (MemberDetectorFeatureState) ElementType

func (MemberDetectorFeatureState) ElementType() reflect.Type

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

func (o MemberOutput) Region() pulumi.StringOutput

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
	// 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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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/v7/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := organizations.NewOrganization(ctx, "example", &organizations.OrganizationArgs{
			AwsServiceAccessPrincipals: pulumi.StringArray{
				pulumi.String("guardduty.amazonaws.com"),
			},
			FeatureSet: pulumi.String("ALL"),
		})
		if err != nil {
			return err
		}
		_, err = guardduty.NewDetector(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = guardduty.NewOrganizationAdminAccount(ctx, "example", &guardduty.OrganizationAdminAccountArgs{
			AdminAccountId: pulumi.String("123456789012"),
		}, pulumi.DependsOn([]pulumi.Resource{
			example,
		}))
		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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

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

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

func (OrganizationAdminAccountState) ElementType

type OrganizationConfiguration

type OrganizationConfiguration struct {
	pulumi.CustomResourceState

	// 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. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.OrganizationConfigurationFeature` resources.
	//
	// > **NOTE:** One of `autoEnable` or `autoEnableOrganizationMembers` must be specified.
	//
	// Deprecated: datasources is deprecated. Use "guardduty.OrganizationConfigurationFeature" resources instead.
	Datasources OrganizationConfigurationDatasourcesOutput `pulumi:"datasources"`
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringOutput `pulumi:"detectorId"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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/v7/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.NewOrganizationConfiguration(ctx, "example", &guardduty.OrganizationConfigurationArgs{
			AutoEnableOrganizationMembers: pulumi.String("ALL"),
			DetectorId:                    example.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 {
	// Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization.
	// Valid values are `ALL`, `NEW`, `NONE`.
	AutoEnableOrganizationMembers pulumi.StringInput
	// Configuration for the collected datasources. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.OrganizationConfigurationFeature` resources.
	//
	// > **NOTE:** One of `autoEnable` or `autoEnableOrganizationMembers` must be specified.
	//
	// Deprecated: datasources is deprecated. Use "guardduty.OrganizationConfigurationFeature" resources instead.
	Datasources OrganizationConfigurationDatasourcesPtrInput
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

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 {
	// Set to `true` if you want S3 data event logs to be automatically enabled for new members of the organization. Default: `false`
	AutoEnable bool `pulumi:"autoEnable"`
}

type OrganizationConfigurationDatasourcesS3LogsArgs

type OrganizationConfigurationDatasourcesS3LogsArgs struct {
	// Set to `true` if you want S3 data event logs to be automatically enabled for new members of the organization. Default: `false`
	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

Set to `true` if you want S3 data event logs to be automatically enabled for new members of the organization. Default: `false`

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

Set to `true` if you want S3 data event logs to be automatically enabled for new members of the organization. Default: `false`

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

type OrganizationConfigurationFeature struct {
	pulumi.CustomResourceState

	// Additional feature configuration block for features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringOutput `pulumi:"name"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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 is simply removed from state instead.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v7/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, "eks_runtime_monitoring", &guardduty.OrganizationConfigurationFeatureArgs{
			DetectorId: example.ID(),
			Name:       pulumi.String("EKS_RUNTIME_MONITORING"),
			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

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

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

func (*OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutput

func (i *OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutput() OrganizationConfigurationFeatureOutput

func (*OrganizationConfigurationFeature) ToOrganizationConfigurationFeatureOutputWithContext

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

type OrganizationConfigurationFeatureAdditionalConfiguration

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 for a feature that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
	Name string `pulumi:"name"`
}

type OrganizationConfigurationFeatureAdditionalConfigurationArgs

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 for a feature that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
	Name pulumi.StringInput `pulumi:"name"`
}

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ElementType

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ToOrganizationConfigurationFeatureAdditionalConfigurationOutput

func (OrganizationConfigurationFeatureAdditionalConfigurationArgs) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext

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

type OrganizationConfigurationFeatureAdditionalConfigurationArray

type OrganizationConfigurationFeatureAdditionalConfigurationArray []OrganizationConfigurationFeatureAdditionalConfigurationInput

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ElementType

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutput

func (OrganizationConfigurationFeatureAdditionalConfigurationArray) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext

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

type OrganizationConfigurationFeatureAdditionalConfigurationArrayInput

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

type OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ElementType

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) Index

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutput

func (OrganizationConfigurationFeatureAdditionalConfigurationArrayOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationArrayOutputWithContext

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

type OrganizationConfigurationFeatureAdditionalConfigurationInput

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

type OrganizationConfigurationFeatureAdditionalConfigurationOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) AutoEnable

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

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ElementType

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) Name

The name of the additional configuration for a feature that will be configured for the organization. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationOutput

func (OrganizationConfigurationFeatureAdditionalConfigurationOutput) ToOrganizationConfigurationFeatureAdditionalConfigurationOutputWithContext

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

type OrganizationConfigurationFeatureArgs

type OrganizationConfigurationFeatureArgs struct {
	// Additional feature configuration block for features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a OrganizationConfigurationFeature resource.

func (OrganizationConfigurationFeatureArgs) ElementType

type OrganizationConfigurationFeatureArray

type OrganizationConfigurationFeatureArray []OrganizationConfigurationFeatureInput

func (OrganizationConfigurationFeatureArray) ElementType

func (OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutput

func (i OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutput() OrganizationConfigurationFeatureArrayOutput

func (OrganizationConfigurationFeatureArray) ToOrganizationConfigurationFeatureArrayOutputWithContext

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

type OrganizationConfigurationFeatureArrayInput

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

type OrganizationConfigurationFeatureArrayOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureArrayOutput) ElementType

func (OrganizationConfigurationFeatureArrayOutput) Index

func (OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutput

func (o OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutput() OrganizationConfigurationFeatureArrayOutput

func (OrganizationConfigurationFeatureArrayOutput) ToOrganizationConfigurationFeatureArrayOutputWithContext

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

type OrganizationConfigurationFeatureInput

type OrganizationConfigurationFeatureInput interface {
	pulumi.Input

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

type OrganizationConfigurationFeatureMap

type OrganizationConfigurationFeatureMap map[string]OrganizationConfigurationFeatureInput

func (OrganizationConfigurationFeatureMap) ElementType

func (OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutput

func (i OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutput() OrganizationConfigurationFeatureMapOutput

func (OrganizationConfigurationFeatureMap) ToOrganizationConfigurationFeatureMapOutputWithContext

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

type OrganizationConfigurationFeatureMapInput

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

type OrganizationConfigurationFeatureMapOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureMapOutput) ElementType

func (OrganizationConfigurationFeatureMapOutput) MapIndex

func (OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutput

func (o OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutput() OrganizationConfigurationFeatureMapOutput

func (OrganizationConfigurationFeatureMapOutput) ToOrganizationConfigurationFeatureMapOutputWithContext

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

type OrganizationConfigurationFeatureOutput

type OrganizationConfigurationFeatureOutput struct{ *pulumi.OutputState }

func (OrganizationConfigurationFeatureOutput) AdditionalConfigurations

Additional feature configuration block for features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. See below.

func (OrganizationConfigurationFeatureOutput) AutoEnable

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

func (OrganizationConfigurationFeatureOutput) DetectorId

The ID of the detector that configures the delegated administrator.

func (OrganizationConfigurationFeatureOutput) ElementType

func (OrganizationConfigurationFeatureOutput) Name

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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.

func (OrganizationConfigurationFeatureOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutput

func (o OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutput() OrganizationConfigurationFeatureOutput

func (OrganizationConfigurationFeatureOutput) ToOrganizationConfigurationFeatureOutputWithContext

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

type OrganizationConfigurationFeatureState

type OrganizationConfigurationFeatureState struct {
	// Additional feature configuration block for features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING`. 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`, `RUNTIME_MONITORING`. Only one of two features `EKS_RUNTIME_MONITORING` or `RUNTIME_MONITORING` can be added, adding both features will cause an error. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorFeatureConfiguration.html) for the current list of supported values.
	Name pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

func (OrganizationConfigurationFeatureState) ElementType

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

Configuration for the collected datasources. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.OrganizationConfigurationFeature` resources.

> **NOTE:** One of `autoEnable` or `autoEnableOrganizationMembers` must be specified.

Deprecated: datasources is deprecated. Use "guardduty.OrganizationConfigurationFeature" resources instead.

func (OrganizationConfigurationOutput) DetectorId

The detector ID of the GuardDuty account.

func (OrganizationConfigurationOutput) ElementType

func (OrganizationConfigurationOutput) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutput

func (o OrganizationConfigurationOutput) ToOrganizationConfigurationOutput() OrganizationConfigurationOutput

func (OrganizationConfigurationOutput) ToOrganizationConfigurationOutputWithContext

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

type OrganizationConfigurationState

type OrganizationConfigurationState struct {
	// 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. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `guardduty.OrganizationConfigurationFeature` resources.
	//
	// > **NOTE:** One of `autoEnable` or `autoEnableOrganizationMembers` must be specified.
	//
	// Deprecated: datasources is deprecated. Use "guardduty.OrganizationConfigurationFeature" resources instead.
	Datasources OrganizationConfigurationDatasourcesPtrInput
	// The detector ID of the GuardDuty account.
	DetectorId pulumi.StringPtrInput
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
}

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/v7/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/kms"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, &aws.GetCallerIdentityArgs{}, nil)
		if err != nil {
			return err
		}
		currentGetRegion, err := aws.GetRegion(ctx, &aws.GetRegionArgs{}, nil)
		if err != nil {
			return err
		}
		gdBucket, err := s3.NewBucket(ctx, "gd_bucket", &s3.BucketArgs{
			Bucket:       pulumi.String("example"),
			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/*", currentGetRegion.Region, current.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/*", currentGetRegion.Region, current.AccountId),
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "AWS",
							Identifiers: []string{
								fmt.Sprintf("arn:aws:iam::%v:root", current.AccountId),
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		testGd, err := guardduty.NewDetector(ctx, "test_gd", &guardduty.DetectorArgs{
			Enable: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAcl(ctx, "gd_bucket_acl", &s3.BucketAclArgs{
			Bucket: gdBucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		gdBucketPolicy, err := s3.NewBucketPolicy(ctx, "gd_bucket_policy", &s3.BucketPolicyArgs{
			Bucket: gdBucket.ID(),
			Policy: pulumi.String(bucketPol.ApplyT(func(bucketPol iam.GetPolicyDocumentResult) (*string, error) {
				return &bucketPol.Json, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		gdKey, err := kms.NewKey(ctx, "gd_key", &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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringPtrInput
}

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

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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"`
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region pulumi.StringOutput `pulumi:"region"`
	// 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.
	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/v7/go/aws/guardduty"
"github.com/pulumi/pulumi-aws/sdk/v7/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.NewBucket(ctx, "bucket", nil)
		if err != nil {
			return err
		}
		_, err = s3.NewBucketAcl(ctx, "bucket_acl", &s3.BucketAclArgs{
			Bucket: bucket.ID(),
			Acl:    pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		myThreatIntelSet, err := s3.NewBucketObjectv2(ctx, "MyThreatIntelSet", &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, "MyThreatIntelSet", &guardduty.ThreatIntelSetArgs{
			Activate:   pulumi.Bool(true),
			DetectorId: primary.ID(),
			Format:     pulumi.String("TXT"),
			Location: pulumi.All(myThreatIntelSet.Bucket, myThreatIntelSet.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),
			Name: pulumi.String("MyThreatIntelSet"),
		})
		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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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) Region

Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.

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

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

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
	// Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
	Region 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.
	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