Interface CfnMemberProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemberProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.174Z")
@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()
.detectorId("detectorId")
.email("email")
.memberId("memberId")
// the properties below are optional
.disableEmailNotification(false)
.message("message")
.status("status")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMemberPropsstatic final classAn implementation forCfnMemberProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMemberProps.Builderbuilder()The 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.The 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
-
getDetectorId
The ID of the detector associated with the GuardDuty service to add the member to. -
getEmail
The email address associated with the member account. -
getMemberId
The AWS account ID of the account to designate as a member. -
getDisableEmailNotification
Specifies whether or not to disable email notification for the member account that you invite. -
getMessage
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members. -
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. -
builder
- Returns:
- a
CfnMemberProps.BuilderofCfnMemberProps
-