Module Values_1.RedshiftIAMParametersSource

A structure that grants Quick Sight access to your cluster and make a call to the redshift:GetClusterCredentials API. For more information on the redshift:GetClusterCredentials API, see GetClusterCredentials .

Sourcetype nonrec t = {
  1. roleArn : Values_0.RoleArn.t;
    (*

    Use the RoleArn structure to allow Quick Sight to call redshift:GetClusterCredentials on your cluster. The calling principal must have iam:PassRole access to pass the role to Quick Sight. The role's trust policy must allow the Quick Sight service principal to assume the role.

    *)
  2. databaseUser : DatabaseUser.t option;
    (*

    The user whose permissions and group memberships will be used by Quick Sight to access the cluster. If this user already exists in your database, Amazon Quick Sight is granted the same permissions that the user has. If the user doesn't exist, set the value of AutoCreateDatabaseUser to True to create a new user with PUBLIC permissions.

    *)
  3. databaseGroups : DatabaseGroupList.t option;
    (*

    A list of groups whose permissions will be granted to Quick Sight to access the cluster. These permissions are combined with the permissions granted to Quick Sight by the DatabaseUser. If you choose to include this parameter, the RoleArn must grant access to redshift:JoinGroup.

    *)
  4. autoCreateDatabaseUser : Values_0.Boolean.t option;
    (*

    Automatically creates a database user. If your database doesn't have a DatabaseUser, set this parameter to True. If there is no DatabaseUser, Quick Sight can't connect to your cluster. The RoleArn that you use for this operation must grant access to redshift:CreateClusterUser to successfully create the user.

    *)
}
Sourceval context_ : string
Sourceval make : ?databaseUser:??? -> ?databaseGroups:??? -> ?autoCreateDatabaseUser:??? -> roleArn:Values_0.RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `String of DatabaseGroup.t ] list | `String of Values_0.RoleArn.t ]) 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