Modifier and Type | Method and Description |
---|---|
CfnMember |
build() |
static CfnMember.Builder |
create(Construct scope,
java.lang.String id) |
CfnMember.Builder |
detectorId(java.lang.String detectorId)
The ID of the detector associated with the service to add the member to.
|
CfnMember.Builder |
disableEmailNotification(java.lang.Boolean disableEmailNotification)
Specifies whether or not to disable email notification for the member account that you invite.
|
CfnMember.Builder |
disableEmailNotification(IResolvable disableEmailNotification)
Specifies whether or not to disable email notification for the member account that you invite.
|
CfnMember.Builder |
email(java.lang.String email)
The email address associated with the member account.
|
CfnMember.Builder |
memberId(java.lang.String memberId)
The AWS account ID of the account to designate as a member.
|
CfnMember.Builder |
message(java.lang.String message)
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.
|
CfnMember.Builder |
status(java.lang.String status)
You can use the `Status` property to update the status of the relationship between the member account and its administrator account.
|
public static CfnMember.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnMember.Builder
.public CfnMember.Builder detectorId(java.lang.String detectorId)
detectorId
- The ID of the detector associated with the service to add the member to. This parameter is required.this
public CfnMember.Builder email(java.lang.String email)
email
- The email address associated with the member account. This parameter is required.this
public CfnMember.Builder memberId(java.lang.String memberId)
memberId
- The AWS account ID of the account to designate as a member. This parameter is required.this
public CfnMember.Builder disableEmailNotification(java.lang.Boolean disableEmailNotification)
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite. This parameter is required.this
public CfnMember.Builder disableEmailNotification(IResolvable disableEmailNotification)
disableEmailNotification
- Specifies whether or not to disable email notification for the member account that you invite. This parameter is required.this
public CfnMember.Builder message(java.lang.String message)
message
- The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members. This parameter is required.this
public CfnMember.Builder status(java.lang.String status)
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.
status
- You can use the `Status` property to update the status of the relationship between the member account and its administrator account. This parameter is required.this
public CfnMember build()