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
@Stability(Stable) public static CfnMember.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMember.Builder
.
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
-