CfnMemberProps
- class aws_cdk.aws_guardduty.CfnMemberProps(*, detector_id, email, member_id, disable_email_notification=None, message=None, status=None)
Bases:
object
Properties for defining a
CfnMember
.- Parameters:
detector_id (
str
) – The ID of the detector associated with the GuardDuty service to add the member to.email (
str
) – The email address associated with the member account.member_id (
str
) – The AWS account ID of the account to designate as a member.disable_email_notification (
Union
[bool
,IResolvable
,None
]) – Specifies whether or not to disable email notification for the member account that you invite.message (
Optional
[str
]) – The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.status (
Optional
[str
]) – You can use theStatus
property to update the status of the relationship between the member account and its administrator account. Valid values areCreated
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-member.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_guardduty as guardduty cfn_member_props = guardduty.CfnMemberProps( detector_id="detectorId", email="email", member_id="memberId", # the properties below are optional disable_email_notification=False, message="message", status="status" )
Attributes
- detector_id
The ID of the detector associated with the GuardDuty service to add the member to.
- disable_email_notification
Specifies whether or not to disable email notification for the member account that you invite.
- email
The email address associated with the member account.
- member_id
The AWS account ID of the account to designate as a member.
- message
The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.
- status
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
andInvited
when using anAWS::GuardDuty::Member
resource. If the value for this property is not provided or set toCreated
, a member account is created but not invited. If the value of this property is set toInvited
, a member account is created and invited.