Module Values.ConfigurationSource

Contains configuration information used when creating a new identity source. This data type is used as a request parameter for the CreateIdentitySource operation.

Sourcetype nonrec t = {
  1. cognitoUserPoolConfiguration : CognitoUserPoolConfiguration.t option;
    (*

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}

    *)
  2. openIdConnectConfiguration : OpenIdConnectConfiguration.t option;
    (*

    Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details. Example:"configuration":{"openIdConnectConfiguration":{"issuer":"https://auth.example.com","tokenSelection":{"accessTokenOnly":{"audiences":["https://myapp.example.com","https://myapp2.example.com"],"principalIdClaim":"sub"}},"entityIdPrefix":"MyOIDCProvider","groupConfiguration":{"groupClaim":"groups","groupEntityType":"MyCorp::UserGroup"}}}

    *)
}
Sourceval make : ?cognitoUserPoolConfiguration:??? -> ?openIdConnectConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `String of ClientId.t ] list | `String of UserPoolArn.t | `Structure of (string * [> `String of GroupEntityType.t | `Structure of (string * [> `List of [> `String of Audience.t ] list | `String of Claim.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t