Class CfnMember.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnMember.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMember>
- Enclosing class:
- CfnMember
@Stability(Stable)
public static final class CfnMember.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMember>
A fluent builder for
CfnMember
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnMember.Builder
detectorId
(String detectorId) The ID of the detector associated with the GuardDuty service to add the member to.disableEmailNotification
(Boolean disableEmailNotification) Specifies whether or not to disable email notification for the member account that you invite.disableEmailNotification
(IResolvable disableEmailNotification) Specifies whether or not to disable email notification for the member account that you invite.The email address associated with the member account.The AWS account ID of the account to designate as a member.The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.You can use theStatus
property to update the status of the relationship between the member account and its administrator account.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMember.Builder
.
-
detectorId
The ID of the detector associated with the GuardDuty service to add the member to.- Parameters:
detectorId
- The ID of the detector associated with the GuardDuty service to add the member to. This parameter is required.- Returns:
this
-
email
The email address associated with the member account.- Parameters:
email
- The email address associated with the member account. This parameter is required.- Returns:
this
-
memberId
The AWS account ID of the account to designate as a member.- Parameters:
memberId
- The AWS account ID of the account to designate as a member. This parameter is required.- Returns:
this
-
disableEmailNotification
@Stability(Stable) public CfnMember.Builder disableEmailNotification(Boolean disableEmailNotification) Specifies whether or not to disable email notification for the member account that you invite.- Parameters:
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite. This parameter is required.- Returns:
this
-
disableEmailNotification
@Stability(Stable) public CfnMember.Builder disableEmailNotification(IResolvable disableEmailNotification) Specifies whether or not to disable email notification for the member account that you invite.- Parameters:
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite. This parameter is required.- Returns:
this
-
message
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.- Parameters:
message
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members. This parameter is required.- Returns:
this
-
status
You can use theStatus
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.- Parameters:
status
- You can use theStatus
property to update the status of the relationship between the member account and its administrator account. This parameter is required.- Returns:
this
-
build
-