Interface CfnMemberProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemberProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:11.377Z")
@Stability(Stable)
public interface CfnMemberProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMember.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.guardduty.*;
CfnMemberProps cfnMemberProps = CfnMemberProps.builder()
.email("email")
// the properties below are optional
.detectorId("detectorId")
.disableEmailNotification(false)
.memberId("memberId")
.message("message")
.status("status")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMemberPropsstatic final classAn implementation forCfnMemberProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMemberProps.Builderbuilder()default StringThe ID of the detector associated with the GuardDuty service to add the member to.default ObjectSpecifies whether or not to disable email notification for the member account that you invite.getEmail()The email address associated with the member account.default StringThe AWS account ID of the account to designate as a member.default StringThe invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.default StringYou can use theStatusproperty to update the status of the relationship between the member account and its administrator account.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmail
The email address associated with the member account.- See Also:
-
getDetectorId
The ID of the detector associated with the GuardDuty service to add the member to.- See Also:
-
getDisableEmailNotification
Specifies whether or not to disable email notification for the member account that you invite.Returns union: either
BooleanorIResolvable- See Also:
-
getMemberId
The AWS account ID of the account to designate as a member.- See Also:
-
getMessage
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.- See Also:
-
getStatus
You can use theStatusproperty to update the status of the relationship between the member account and its administrator account.Valid values are
CreatedandInvitedwhen using anAWS::GuardDuty::Memberresource. 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.- See Also:
-
builder
- Returns:
- a
CfnMemberProps.BuilderofCfnMemberProps
-