# MemberInvitationReference

A reference to a MemberInvitation resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_detective as interfaces_detective } from 'aws-cdk-lib/interfaces';
const memberInvitationReference: interfaces_detective.MemberInvitationReference = {
  graphArn: 'graphArn',
  memberId: 'memberId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_detective as interfaces_detective

member_invitation_reference = interfaces_detective.MemberInvitationReference(
    graph_arn="graphArn",
    member_id="memberId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.detective.*;

MemberInvitationReference memberInvitationReference = MemberInvitationReference.builder()
        .graphArn("graphArn")
        .memberId("memberId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Detective;

var memberInvitationReference = new MemberInvitationReference {
    GraphArn = "graphArn",
    MemberId = "memberId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

memberInvitationReference := &MemberInvitationReference{
	GraphArn: jsii.String("graphArn"),
	MemberId: jsii.String("memberId"),
}
```

## Properties

- `graphArn`: string (required) — The GraphArn of the MemberInvitation resource.

- `memberId`: string (required) — The MemberId of the MemberInvitation resource.
