Cognito.IdentityPoolRoleAttachment
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html
and role_mapping = {
type_ : string;
ambiguous_role_resolution : string option;
rules_configuration : rules_configuration_type option;
identity_provider : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html
type properties = {
role_mappings : role_mapping Stdlib__Map.Make(Stdlib.String).t option;
identity_pool_id : string;
roles : string Stdlib__Map.Make(Stdlib.String).t option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html;
val make_properties :
?role_mappings:role_mapping Stdlib__Map.Make(Stdlib.String).t ->
identity_pool_id:string ->
?roles:string Stdlib__Map.Make(Stdlib.String).t ->
unit ->
properties
val make_mapping_rule :
match_type:string ->
value:string ->
claim:string ->
role_arn:string ->
unit ->
mapping_rule
val make_rules_configuration_type :
rules:mapping_rule list ->
unit ->
rules_configuration_type
val make_role_mapping :
type_:string ->
?ambiguous_role_resolution:string ->
?rules_configuration:rules_configuration_type ->
?identity_provider:string ->
unit ->
role_mapping
val yojson_of_mapping_rule : mapping_rule -> Yojson.Safe.t
val yojson_of_rules_configuration_type :
rules_configuration_type ->
Yojson.Safe.t
val yojson_of_role_mapping :
role_mapping ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes