Module Cognito.IdentityPoolRoleAttachment

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html

type mapping_rule = {
  1. match_type : string;
  2. value : string;
  3. claim : string;
  4. role_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html

and rules_configuration_type = {
  1. rules : mapping_rule list;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html

and role_mapping = {
  1. type_ : string;
  2. ambiguous_role_resolution : string option;
  3. rules_configuration : rules_configuration_type option;
  4. identity_provider : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html

type properties = {
  1. role_mappings : role_mapping Stdlib__Map.Make(Stdlib.String).t option;
  2. identity_pool_id : string;
  3. 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 ]
type attributes = {
  1. ref_ : string;
  2. id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string