Class CfnMember
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.guardduty.CfnMember
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:58.575Z")
@Stability(Stable)
public class CfnMember
extends CfnResource
implements IInspectable
You can use the
AWS::GuardDuty::Member
resource to add an AWS account as a GuardDuty member account to the current GuardDuty administrator account.
If the value of the Status
property is not provided or is set to Created
, a member account is created but not invited. If the value of the Status
property is set to Invited
, a member account is created and invited. An AWS::GuardDuty::Member
resource must be created with the Status
property set to Invited
before the AWS::GuardDuty::Master
resource can be created in a GuardDuty member account.
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.*; CfnMember cfnMember = CfnMember.Builder.create(this, "MyCfnMember") .email("email") // the properties below are optional .detectorId("detectorId") .disableEmailNotification(false) .memberId("memberId") .message("message") .status("status") .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnMember
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMember
(software.amazon.jsii.JsiiObjectRef objRef) CfnMember
(software.constructs.Construct scope, String id, CfnMemberProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ID of the detector associated with the GuardDuty service to add the member to.Specifies 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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDetectorId
(String value) The ID of the detector associated with the GuardDuty service to add the member to.void
Specifies whether or not to disable email notification for the member account that you invite.void
Specifies whether or not to disable email notification for the member account that you invite.void
The email address associated with the member account.void
setMemberId
(String value) The AWS account ID of the account to designate as a member.void
setMessage
(String value) The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members.void
You can use theStatus
property to update the status of the relationship between the member account and its administrator account.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnMember
protected CfnMember(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMember
protected CfnMember(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMember
@Stability(Stable) public CfnMember(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMemberProps props) - 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.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getEmail
The email address associated with the member account. -
setEmail
The email address associated with the member account. -
getDetectorId
The ID of the detector associated with the GuardDuty service to add the member to. -
setDetectorId
The ID of the detector associated with the GuardDuty service to add the member to. -
getDisableEmailNotification
Specifies whether or not to disable email notification for the member account that you invite. -
setDisableEmailNotification
Specifies whether or not to disable email notification for the member account that you invite. -
setDisableEmailNotification
Specifies whether or not to disable email notification for the member account that you invite. -
getMemberId
The AWS account ID of the account to designate as a member. -
setMemberId
The AWS account ID of the account to designate as a member. -
getMessage
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members. -
setMessage
The invitation message that you want to send to the accounts that you're inviting to GuardDuty as members. -
getStatus
You can use theStatus
property to update the status of the relationship between the member account and its administrator account. -
setStatus
You can use theStatus
property to update the status of the relationship between the member account and its administrator account.
-