-
Notifications
You must be signed in to change notification settings - Fork 488
/
Copy pathAppSyncIamIdentity.cs
47 lines (39 loc) · 1.36 KB
/
AppSyncIamIdentity.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
namespace Amazon.Lambda.AppSyncEvents;
/// <summary>
/// Represents AWS IAM authorization identity for AppSync
/// </summary>
public class AppSyncIamIdentity
{
/// <summary>
/// The source IP address of the caller received by AWS AppSync
/// </summary>
public List<string> SourceIp { get; set; }
/// <summary>
/// The username of the authenticated user (IAM user principal)
/// </summary>
public string Username { get; set; }
/// <summary>
/// The AWS account ID of the caller
/// </summary>
public string AccountId { get; set; }
/// <summary>
/// The Amazon Cognito identity pool ID associated with the caller
/// </summary>
public string CognitoIdentityPoolId { get; set; }
/// <summary>
/// The Amazon Cognito identity ID of the caller
/// </summary>
public string CognitoIdentityId { get; set; }
/// <summary>
/// The ARN of the IAM user
/// </summary>
public string UserArn { get; set; }
/// <summary>
/// Either authenticated or unauthenticated based on the identity type
/// </summary>
public string CognitoIdentityAuthType { get; set; }
/// <summary>
/// A comma separated list of external identity provider information used in obtaining the credentials used to sign the request
/// </summary>
public string CognitoIdentityAuthProvider { get; set; }
}