@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:50.022Z") 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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnMemberInvitation.Builder
A fluent builder for
CfnMemberInvitation . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnMemberInvitation(Construct scope,
java.lang.String id,
CfnMemberInvitationProps props)
Create a new `AWS::Detective::MemberInvitation`.
|
protected |
CfnMemberInvitation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMemberInvitation(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getDisableEmailNotification()
Whether to send an invitation email to the member account.
|
java.lang.String |
getGraphArn()
The ARN of the behavior graph to invite the account to contribute data to.
|
java.lang.String |
getMemberEmailAddress()
The root user email address of the invited account.
|
java.lang.String |
getMemberId()
The AWS account identifier of the invited account.
|
java.lang.String |
getMessage()
Customized text to include in the invitation email message.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDisableEmailNotification(java.lang.Boolean value)
Whether to send an invitation email to the member account.
|
void |
setDisableEmailNotification(IResolvable value)
Whether to send an invitation email to the member account.
|
void |
setGraphArn(java.lang.String value)
The ARN of the behavior graph to invite the account to contribute data to.
|
void |
setMemberEmailAddress(java.lang.String value)
The root user email address of the invited account.
|
void |
setMemberId(java.lang.String value)
The AWS account identifier of the invited account.
|
void |
setMessage(java.lang.String value)
Customized text to include in the invitation email message.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnMemberInvitation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMemberInvitation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnMemberInvitation(Construct scope, java.lang.String id, CfnMemberInvitationProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getGraphArn()
public void setGraphArn(java.lang.String value)
public java.lang.String getMemberEmailAddress()
If the email address provided is not the root user email address for the provided account, the invitation creation fails.
public void setMemberEmailAddress(java.lang.String value)
If the email address provided is not the root user email address for the provided account, the invitation creation fails.
public java.lang.String getMemberId()
public void setMemberId(java.lang.String value)
public java.lang.Object getDisableEmailNotification()
If set to true, the member account does not receive an invitation email.
public void setDisableEmailNotification(java.lang.Boolean value)
If set to true, the member account does not receive an invitation email.
public void setDisableEmailNotification(IResolvable value)
If set to true, the member account does not receive an invitation email.
public java.lang.String getMessage()
public void setMessage(java.lang.String value)