Module Values.AwsIamRoleDetailsSource

Contains information about an IAM role, including all of the role's policies.

Sourcetype nonrec t = {
  1. assumeRolePolicyDocument : AwsIamRoleAssumeRolePolicyDocument.t option;
    (*

    The trust policy that grants permission to assume the role.

    *)
  2. attachedManagedPolicies : AwsIamAttachedManagedPolicyList.t option;
    (*

    The list of the managed policies that are attached to the role.

    *)
  3. createDate : NonEmptyString.t option;
    (*

    Indicates when the role was created. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

    *)
  4. instanceProfileList : AwsIamInstanceProfileList.t option;
    (*

    The list of instance profiles that contain this role.

    *)
  5. permissionsBoundary : AwsIamPermissionsBoundary.t option;
  6. roleId : NonEmptyString.t option;
    (*

    The stable and unique string identifying the role.

    *)
  7. roleName : NonEmptyString.t option;
    (*

    The friendly name that identifies the role.

    *)
  8. rolePolicyList : AwsIamRolePolicyList.t option;
    (*

    The list of inline policies that are embedded in the role.

    *)
  9. maxSessionDuration : Integer.t option;
    (*

    The maximum session duration (in seconds) that you want to set for the specified role.

    *)
  10. path : NonEmptyString.t option;
    (*

    The path to the role.

    *)
}
Sourceval make : ?assumeRolePolicyDocument:??? -> ?attachedManagedPolicies:??? -> ?createDate:??? -> ?instanceProfileList:??? -> ?permissionsBoundary:??? -> ?roleId:??? -> ?roleName:??? -> ?rolePolicyList:??? -> ?maxSessionDuration:??? -> ?path:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.t ]) list ] list | `String of AwsIamRoleAssumeRolePolicyDocument.t | `Structure of (string * [> `String of NonEmptyString.t ]) list ]) 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