AWS::GuardDuty::MemberYou 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 { CfnMember } from 'aws-cdk-lib/aws-guardduty';Or use the module namespace:
import * as guardduty from 'aws-cdk-lib/aws-guardduty';
// guardduty.CfnMemberConfiguration passed to the constructor as CfnMemberProps.
emailRequiredstringThe email address associated with the member account.
detectorIdOptionalstringThe ID of the detector associated with the GuardDuty service to add the member to.
disableEmailNotificationOptionalboolean | IResolvableSpecifies whether or not to disable email notification for the member account that you invite.
memberIdOptionalstringThe AWS account ID of the account to designate as a member.
messageOptionalstringThe invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
statusOptionalstringYou 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.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-guarddutyAWS::GuardDuty::Member