Class CfnMemberInvitation
The AWS::Detective::MemberInvitation
resource is an Amazon Detective resource type that creates an invitation to join a Detective behavior graph.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Detective
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMemberInvitation : CfnResource, IInspectable
Syntax (vb)
Public Class CfnMemberInvitation
Inherits CfnResource
Implements IInspectable
Remarks
The administrator account can choose whether to send an email notification of the invitation to the root user email address of the AWS account.
CloudformationResource: AWS::Detective::MemberInvitation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Detective;
var cfnMemberInvitation = new CfnMemberInvitation(this, "MyCfnMemberInvitation", new CfnMemberInvitationProps {
GraphArn = "graphArn",
MemberEmailAddress = "memberEmailAddress",
MemberId = "memberId",
// the properties below are optional
DisableEmailNotification = false,
Message = "message"
});
Synopsis
Constructors
CfnMemberInvitation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnMemberInvitation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnMemberInvitation(Construct, String, ICfnMemberInvitationProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DisableEmailNotification | Whether to send an invitation email to the member account. |
GraphArn | The ARN of the behavior graph to invite the account to contribute data to. |
MemberEmailAddress | The root user email address of the invited account. |
MemberId | The AWS account identifier of the invited account. |
Message | Customized text to include in the invitation email message. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnMemberInvitation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnMemberInvitation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnMemberInvitation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnMemberInvitation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnMemberInvitation(Construct, String, ICfnMemberInvitationProps)
public CfnMemberInvitation(Construct scope, string id, ICfnMemberInvitationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnMemberInvitationProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DisableEmailNotification
Whether to send an invitation email to the member account.
public virtual object DisableEmailNotification { get; set; }
Property Value
System.Object
GraphArn
The ARN of the behavior graph to invite the account to contribute data to.
public virtual string GraphArn { get; set; }
Property Value
System.String
MemberEmailAddress
The root user email address of the invited account.
public virtual string MemberEmailAddress { get; set; }
Property Value
System.String
MemberId
The AWS account identifier of the invited account.
public virtual string MemberId { get; set; }
Property Value
System.String
Message
Customized text to include in the invitation email message.
public virtual string Message { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>