iya-sts
    Preparing search index...
    removePolicy: (
        roleName: string,
        policy: string,
        options?: { actor?: string },
    ) => boolean = ...

    Type Declaration

      • (roleName: string, policy: string, options?: { actor?: string }): boolean
      • Removes a role's eligibility policy, on the role's deletion. A policy the role names but does not own is left alone.

        Parameters

        • roleName: string

          the deleted role's name

        • policy: string

          the name its roleEligibilityPolicy carried

        • Optionaloptions: { actor?: string }

          actor

        Returns boolean

        true when a policy was removed