Module IoTSiteWise.AccessPolicy

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-accesspolicy.html

type iam_role = {
  1. arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamrole.html

and project = {
  1. id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-project.html

and user = {
  1. id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-user.html

and iam_user = {
  1. arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-iamuser.html

and portal = {
  1. id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-portal.html

and access_policy_resource = {
  1. project : project option;
  2. portal : portal option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyresource.html

and access_policy_identity = {
  1. user : user option;
  2. iam_user : iam_user option;
  3. iam_role : iam_role option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-accesspolicy-accesspolicyidentity.html

type properties = {
  1. access_policy_resource : access_policy_resource;
  2. access_policy_identity : access_policy_identity;
  3. access_policy_permission : string;
}

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

val make_properties : access_policy_resource:access_policy_resource -> access_policy_identity:access_policy_identity -> access_policy_permission:string -> unit -> properties
val make_iam_role : ?arn:string -> unit -> iam_role
val make_project : ?id:string -> unit -> project
val make_user : ?id:string -> unit -> user
val make_iam_user : ?arn:string -> unit -> iam_user
val make_portal : ?id:string -> unit -> portal
val make_access_policy_resource : ?project:project -> ?portal:portal -> unit -> access_policy_resource
val make_access_policy_identity : ?user:user -> ?iam_user:iam_user -> ?iam_role:iam_role -> unit -> access_policy_identity
val yojson_of_iam_role : iam_role -> Yojson.Safe.t
val yojson_of_project : project -> Yojson.Safe.t
val yojson_of_user : user -> Yojson.Safe.t
val yojson_of_iam_user : iam_user -> Yojson.Safe.t
val yojson_of_portal : portal -> Yojson.Safe.t
val yojson_of_access_policy_resource : access_policy_resource -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_access_policy_identity : access_policy_identity -> [> `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. access_policy_arn : string;
  3. access_policy_id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string