Class CfnMemberInvitation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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-12-14T13:31:07.893Z") @Stability(Stable) public class CfnMemberInvitation extends CfnResource implements IInspectable
The AWS::Detective::MemberInvitation resource is an Amazon Detective resource type that creates an invitation to join a Detective behavior graph.

The administrator account can choose whether to send an email notification of the invitation to the root user email address of the AWS 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.detective.*;
 CfnMemberInvitation cfnMemberInvitation = CfnMemberInvitation.Builder.create(this, "MyCfnMemberInvitation")
         .graphArn("graphArn")
         .memberEmailAddress("memberEmailAddress")
         .memberId("memberId")
         // the properties below are optional
         .disableEmailNotification(false)
         .message("message")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMemberInvitation

      protected CfnMemberInvitation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMemberInvitation

      protected CfnMemberInvitation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMemberInvitation

      @Stability(Stable) public CfnMemberInvitation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMemberInvitationProps 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getGraphArn

      @Stability(Stable) @NotNull public String getGraphArn()
      The ARN of the behavior graph to invite the account to contribute data to.
    • setGraphArn

      @Stability(Stable) public void setGraphArn(@NotNull String value)
      The ARN of the behavior graph to invite the account to contribute data to.
    • getMemberEmailAddress

      @Stability(Stable) @NotNull public String getMemberEmailAddress()
      The root user email address of the invited account.
    • setMemberEmailAddress

      @Stability(Stable) public void setMemberEmailAddress(@NotNull String value)
      The root user email address of the invited account.
    • getMemberId

      @Stability(Stable) @NotNull public String getMemberId()
      The AWS account identifier of the invited account.
    • setMemberId

      @Stability(Stable) public void setMemberId(@NotNull String value)
      The AWS account identifier of the invited account.
    • getDisableEmailNotification

      @Stability(Stable) @Nullable public Object getDisableEmailNotification()
      Whether to send an invitation email to the member account.
    • setDisableEmailNotification

      @Stability(Stable) public void setDisableEmailNotification(@Nullable Boolean value)
      Whether to send an invitation email to the member account.
    • setDisableEmailNotification

      @Stability(Stable) public void setDisableEmailNotification(@Nullable IResolvable value)
      Whether to send an invitation email to the member account.
    • getMessage

      @Stability(Stable) @Nullable public String getMessage()
      Customized text to include in the invitation email message.
    • setMessage

      @Stability(Stable) public void setMessage(@Nullable String value)
      Customized text to include in the invitation email message.