AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::GuardDuty::Member

CfnMember

You can use the `AWS::GuardDuty::Member` resource to add an AWS account as a GuardDuty member account to the current GuardDuty administrator account. If the value of the `Status` property is not provided or is set to `Created` , a member account is created but not invited. If the value of the `Status` property is set to `Invited` , a member account is created and invited. An `AWS::GuardDuty::Member` resource must be created with the `Status` property set to `Invited` before the `AWS::GuardDuty::Master` resource can be created in a GuardDuty member account.

Import

import { CfnMember } from 'aws-cdk-lib/aws-guardduty';

Or use the module namespace:

import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnMember

Properties

Configuration passed to the constructor as CfnMemberProps.

emailRequired
string

The email address associated with the member account.

detectorIdOptional
string

The ID of the detector associated with the GuardDuty service to add the member to.

disableEmailNotificationOptional
boolean | IResolvable

Specifies whether or not to disable email notification for the member account that you invite.

memberIdOptional
string

The AWS account ID of the account to designate as a member.

messageOptional
string

The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.

statusOptional
string

You can use the `Status` property to update the status of the relationship between the member account and its administrator account. Valid values are `Created` and `Invited` when using an `AWS::GuardDuty::Member` resource. If the value for this property is not provided or set to `Created` , a member account is created but not invited. If the value of this property is set to `Invited` , a member account is created and invited.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter