AWS GuardDuty Invite Accepter

This page shows how to write Terraform and CloudFormation for GuardDuty Invite Accepter and write them securely.

aws_guardduty_invite_accepter (Terraform)

The Invite Accepter in GuardDuty can be configured in Terraform with the resource name aws_guardduty_invite_accepter. The following sections describe 5 examples of how to use the resource and its parameters.

Example Usage from GitHub

github-iconDNXLabs/terraform-aws-security-baseline
resource "aws_guardduty_invite_accepter" "member" {
  count = var.guardduty ? 1 : 0

  depends_on = [aws_guardduty_member.member]

  detector_id       = aws_guardduty_detector.member[0].id
github-iconandyhaughton/awsmanagement
resource "aws_guardduty_invite_accepter" "member_accepter" {
  count             = var.is_guardduty_member ? 1 : 0
  detector_id       = aws_guardduty_detector.detector.id
  master_account_id = var.master_account_id
}
github-iconanish5445/guardduty-multi
resource "aws_guardduty_invite_accepter" "member_accepter" {
  count             = var.is_guardduty_member ? 1 : 0
  detector_id       = aws_guardduty_detector.detector.id
  master_account_id = var.master_account_id
}
github-iconDNXLabs/terraform-aws-audit-member
resource "aws_guardduty_invite_accepter" "member" {
  count = var.guardduty ? 1 : 0

  depends_on = [aws_guardduty_member.member]
  provider   = aws.account

github-iconcmdlabs/cmd-tf-aws-guardduty
resource "aws_guardduty_invite_accepter" "member_accepter" {
  count             = var.is_guardduty_member ? 1 : 0
  detector_id       = aws_guardduty_detector.detector.id
  master_account_id = var.master_account_id
}

Parameters

Explanation in Terraform Registry

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.

AWS::GuardDuty::Filter (CloudFormation)

The Filter in GuardDuty can be configured in CloudFormation with the resource name AWS::GuardDuty::Filter. The following sections describe how to use the resource and its parameters.

Parameters

Explanation in CloudFormation Registry

The AWS::GuardDuty::Filter resource specifies a new filter defined by the provided findingCriteria.

Frequently asked questions

What is AWS GuardDuty Invite Accepter?

AWS GuardDuty Invite Accepter is a resource for GuardDuty of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS GuardDuty Invite Accepter?

For Terraform, the DNXLabs/terraform-aws-security-baseline, andyhaughton/awsmanagement and anish5445/guardduty-multi source code examples are useful. See the Terraform Example section for further details.