Module VerifiedPermissions.Policy

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html

type entity_identifier = {
  1. entity_type : string;
  2. entity_id : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policy-entityidentifier.html

and static_policy_definition = {
  1. description : string option;
  2. statement : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policy-staticpolicydefinition.html

and template_linked_policy_definition = {
  1. resource : entity_identifier option;
  2. policy_template_id : string;
  3. principal : entity_identifier option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policy-templatelinkedpolicydefinition.html

and policy_definition = {
  1. static : static_policy_definition option;
  2. template_linked : template_linked_policy_definition option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-policy-policydefinition.html

type properties = {
  1. definition : policy_definition;
  2. policy_store_id : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-verifiedpermissions-policy.html;

val make_properties : definition:policy_definition -> policy_store_id:string -> unit -> properties
val make_entity_identifier : entity_type:string -> entity_id:string -> unit -> entity_identifier
val make_static_policy_definition : ?description:string -> statement:string -> unit -> static_policy_definition
val make_template_linked_policy_definition : ?resource:entity_identifier -> policy_template_id:string -> ?principal:entity_identifier -> unit -> template_linked_policy_definition
val make_policy_definition : ?static:static_policy_definition -> ?template_linked:template_linked_policy_definition -> unit -> policy_definition
val yojson_of_entity_identifier : entity_identifier -> Yojson.Safe.t
val yojson_of_static_policy_definition : static_policy_definition -> Yojson.Safe.t
val yojson_of_template_linked_policy_definition : template_linked_policy_definition -> Yojson.Safe.t
val yojson_of_policy_definition : policy_definition -> [> `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. policy_type : string;
  3. policy_id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string